summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorLieuwe Rooijakkers <lieuwerooijakkers@gmail.com>2024-08-04 23:45:43 +0200
committerLieuwe Rooijakkers <lieuwerooijakkers@gmail.com>2024-08-04 23:45:43 +0200
commit4e7ff05a2894498caccb4db434f0b070ba5c21e0 (patch)
tree516f7f025eb36ed927cdf7fcd7454a39fcddeeb9 /src/util
parent39d20d50c9e7625b9a54542a47349a77183c49ca (diff)
loop_files: better error messages
Diffstat (limited to 'src/util')
-rw-r--r--src/util/loop_files.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/loop_files.c b/src/util/loop_files.c
index 2ef592e..cdab18c 100644
--- a/src/util/loop_files.c
+++ b/src/util/loop_files.c
@@ -24,11 +24,11 @@ err_stdin:
return 1;
err_file:
- fprintf(stderr, "%s: fout bij lezen van bestand\n", progname);
+ fprintf(stderr, "%s: %s: fout bij lezen van bestand\n", progname, arg);
return 1;
err_isdir:
- fprintf(stderr, "%s: bestand '%s' is een mapje\n", progname, arg);
+ fprintf(stderr, "%s: %s: is een mapje\n", progname, arg);
return -1;
}