aboutsummaryrefslogtreecommitdiff
path: root/src/listalf.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-11-21 15:49:56 -0500
committerB. Watson <urchlay@slackware.uk>2025-11-21 15:49:56 -0500
commit23abb4764a4be094608a14a6637f08e8f3067a76 (patch)
treed82720f6a0c08660d64228d71aefa8147063b1e0 /src/listalf.c
parent61a771939849fd57b914727f29480b5b8c0dea7f (diff)
downloadunalf-23abb4764a4be094608a14a6637f08e8f3067a76.tar.gz
Add fatal: prefix to fatal error messages.
Diffstat (limited to 'src/listalf.c')
-rw-r--r--src/listalf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/listalf.c b/src/listalf.c
index 2c236c9..8082d11 100644
--- a/src/listalf.c
+++ b/src/listalf.c
@@ -109,8 +109,7 @@ void list_alf(void) {
}
if(fseek(in_file, comp_size, SEEK_CUR) != 0) {
- fputs(self, stderr);
- perror(": fseek");
+ fprintf(stderr, "%s: fatal: seek failed on input!\n", self);
exit(1);
}
}