diff options
author | NRK <nrk@disroot.org> | 2022-07-15 07:56:45 +0200 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2022-09-05 03:52:51 +0200 |
commit | 7e3e6008fec8f7de8fa3c3545a76d5380ba48944 (patch) | |
tree | 7f0233a34af33b1c1a80743bb73c6124405c30ee /main.c | |
parent | fbe186e79d2083a7bbd1588b317cd5782bc5ae73 (diff) | |
download | nsxiv-7e3e6008fec8f7de8fa3c3545a76d5380ba48944.tar.zst |
remove some hardcoded "nsxiv", use progname instead
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |