summaryrefslogtreecommitdiff
path: root/tools/dump.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-09-26 15:04:03 +0000
committerjbj <devnull@localhost>1999-09-26 15:04:03 +0000
commite60094b302720378ca194db760e51299b32e0a70 (patch)
tree67e66c20dcff947fef2fa59563d364627fd1a539 /tools/dump.c
parent0464b19302bcceafe0c597f1feb693f69ab9b12d (diff)
downloadrpm-e60094b302720378ca194db760e51299b32e0a70.tar.gz
rpm-e60094b302720378ca194db760e51299b32e0a70.tar.bz2
rpm-e60094b302720378ca194db760e51299b32e0a70.zip
Retrofit glibc __progname.
CVS patchset: 3330 CVS date: 1999/09/26 15:04:03
Diffstat (limited to 'tools/dump.c')
-rw-r--r--tools/dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/dump.c b/tools/dump.c
index becec45e7..24ad90277 100644
--- a/tools/dump.c
+++ b/tools/dump.c
@@ -7,6 +7,7 @@ int main(int argc, char ** argv)
Header h;
FD_t fdi;
+ setprogname(argv[0]); /* Retrofit glibc __progname */
if (argc == 1) {
fdi = fdDup(STDIN_FILENO);
} else {