From 058c0f9bce6401112f37463cd8d9f10df5c7d004 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 24 May 2015 14:14:03 -0400 Subject: make error messages more uniform --- src/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util.c') diff --git a/src/util.c b/src/util.c index dc4fcfb..35ddf54 100644 --- a/src/util.c +++ b/src/util.c @@ -75,7 +75,7 @@ bool get_stock_info(char *symbol, struct money_t *price, char **name_ret) if(res != CURLE_OK || buf.data[0] != '"') { - fail("Failed to query information for '%s'.\n", symbol); + fail("Failed to query information for '%s'.", symbol); } /* null-terminate buffer */ @@ -121,7 +121,7 @@ static void detect_endianness(void) endianness = LITTLE; else { - fail("failed to detect system endianness"); + fail("Failed to detect system endianness."); } } -- cgit v1.1