aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index a7b6fa9..8754dae 100644
--- a/main.c
+++ b/main.c
@@ -158,7 +158,7 @@ void remove_file(int n, bool manual)
if (filecnt == 1) {
if (!manual)
- fprintf(stderr, "nsxiv: no more files to display, aborting\n");
+ fprintf(stderr, "%s: no more files to display, aborting\n", progname);
exit(manual ? EXIT_SUCCESS : EXIT_FAILURE);
}
if (files[n].flags & FF_MARK)