diff options
| author | Franklin Wei <git@fwei.tk> | 2015-05-24 14:14:03 -0400 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2015-05-24 14:14:03 -0400 |
| commit | 058c0f9bce6401112f37463cd8d9f10df5c7d004 (patch) | |
| tree | 8f192f6adeaf8bffc2b240ac69b35bb57ee1e828 /src/util.c | |
| parent | 619550ed4aa3e242334153dcc2f003209fff986d (diff) | |
| download | market-sim-058c0f9bce6401112f37463cd8d9f10df5c7d004.zip market-sim-058c0f9bce6401112f37463cd8d9f10df5c7d004.tar.gz market-sim-058c0f9bce6401112f37463cd8d9f10df5c7d004.tar.bz2 market-sim-058c0f9bce6401112f37463cd8d9f10df5c7d004.tar.xz | |
make error messages more uniform
Diffstat (limited to 'src/util.c')
| -rw-r--r-- | src/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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."); } } |