diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-11-21 15:49:56 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-11-21 15:49:56 -0500 |
| commit | 23abb4764a4be094608a14a6637f08e8f3067a76 (patch) | |
| tree | d82720f6a0c08660d64228d71aefa8147063b1e0 /src/unalf.c | |
| parent | 61a771939849fd57b914727f29480b5b8c0dea7f (diff) | |
| download | unalf-23abb4764a4be094608a14a6637f08e8f3067a76.tar.gz | |
Add fatal: prefix to fatal error messages.
Diffstat (limited to 'src/unalf.c')
| -rw-r--r-- | src/unalf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unalf.c b/src/unalf.c index ee235b1..9a43bb2 100644 --- a/src/unalf.c +++ b/src/unalf.c @@ -21,13 +21,13 @@ static void create_outdir(void) { mkdir(opts.outdir, 0777); #endif if(r < 0 && errno != EEXIST) { - fprintf(stderr, "%s: ", self); + fprintf(stderr, "%s: fatal: ", self); perror(opts.outdir); exit(1); } if(chdir(opts.outdir) < 0) { - fprintf(stderr, "%s: ", self); + fprintf(stderr, "%s: fatal: ", self); perror(opts.outdir); exit(1); } @@ -61,7 +61,7 @@ int main(int argc, char **argv) { parse_opts(argc, argv); if(!(in_file = fopen(in_filename, "rb"))) { - fprintf(stderr, "%s: ", self); + fprintf(stderr, "%s: fatal: ", self); perror(in_filename); exit(1); } |
