aboutsummaryrefslogtreecommitdiff
path: root/tar
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-06 12:17:33 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-06 12:17:33 +0100
commit5fa2d158266c24528132589a1bd77b33de7d4d25 (patch)
tree9c3c6517a1e112a51a02298e8422a33f54841788 /tar
parent2c49bf4fca54e9acb47844878cc43617ce2a1422 (diff)
Cleanup: remove BSD style __progname
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tar')
-rw-r--r--tar/sqfs2tar.c2
-rw-r--r--tar/tar2sqfs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tar/sqfs2tar.c b/tar/sqfs2tar.c
index af116b8..8eac991 100644
--- a/tar/sqfs2tar.c
+++ b/tar/sqfs2tar.c
@@ -126,7 +126,7 @@ static void process_args(int argc, char **argv)
fputs(usagestr, stdout);
goto out_success;
case 'V':
- print_version();
+ print_version("sqfs2tar");
goto out_success;
default:
goto fail_arg;
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c
index 4634364..94168fc 100644
--- a/tar/tar2sqfs.c
+++ b/tar/tar2sqfs.c
@@ -163,7 +163,7 @@ static void process_args(int argc, char **argv)
compressor_print_available();
exit(EXIT_SUCCESS);
case 'V':
- print_version();
+ print_version("tar2sqfs");
exit(EXIT_SUCCESS);
default:
goto fail_arg;