diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-10-09 12:21:41 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-10-09 12:21:41 +0000 |
commit | 35e4e865b5246c0dd9c4828d2d6d8cc905165a2a (patch) | |
tree | 00ba2874bee2c9af4dd6069c067ef8ec81a6c2ea /extra/locale/gen_wc8bit.c | |
parent | 4a9c34b27b90353d60b8f1fbe37a29442dc74056 (diff) |
- standardize fopen error message a bit
Diffstat (limited to 'extra/locale/gen_wc8bit.c')
-rw-r--r-- | extra/locale/gen_wc8bit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/locale/gen_wc8bit.c b/extra/locale/gen_wc8bit.c index c6db41231..20f8f648b 100644 --- a/extra/locale/gen_wc8bit.c +++ b/extra/locale/gen_wc8bit.c @@ -103,7 +103,7 @@ int main(int argc, char **argv) } if (!(out = fopen("c8tables.h","w"))) { - printf("error: couldn't open file \"c8tables.h\"\n"); + printf("cannot open output file 'c8tables.h'!\n"); return EXIT_FAILURE; } @@ -173,7 +173,7 @@ int main(int argc, char **argv) codeset_index[0] = 0; while (--argc) { if (!(fp = fopen(*++argv,"r"))) { - printf("error: couldn't open file \"%s\"\n", *argv); + printf("cannot open file \"%s\"\n", *argv); return EXIT_FAILURE; } printf("processing %s... ", *argv); |