From 02fd0178076eaa878f5017ba8cfbb0d4ba3993e0 Mon Sep 17 00:00:00 2001 From: John Zaitseff Date: Fri, 19 Aug 2011 17:34:41 +1000 Subject: [PATCH] Make the errno_exit() string a little more regular This is to match all other such strings in the program. --- src/fileio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fileio.c b/src/fileio.c index 60dfe04..15d2df4 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -103,7 +103,7 @@ static const unsigned char game_file_crypt_key[] = { err_exit(_("%s: illegal characters on line %d"), \ filename, lineno); \ } else { \ - errno_exit("str_cd_iconv()"); \ + errno_exit("str_cd_iconv"); \ } \ } \ } else { \ @@ -174,7 +174,7 @@ static const unsigned char game_file_crypt_key[] = { err_exit(_("%s: could not convert string"), \ filename); \ } else { \ - errno_exit("str_cd_iconv()"); \ + errno_exit("str_cd_iconv"); \ } \ } \ save_game_printf("%s", s); \ @@ -260,7 +260,7 @@ bool load_game (int num) if (need_icd) { icd = iconv_open(codeset, GAME_FILE_CHARSET); if (icd == (iconv_t) -1) { - errno_exit("iconv_open()"); + errno_exit("iconv_open"); } } else { icd = (iconv_t) -1; @@ -471,7 +471,7 @@ bool save_game (int num) if (need_icd) { icd = iconv_open(codeset, GAME_FILE_CHARSET); if (icd == (iconv_t) -1) { - errno_exit("iconv_open()"); + errno_exit("iconv_open"); } } else { icd = (iconv_t) -1;