diff options
author | rsc <devnull@localhost> | 2005-02-11 21:18:00 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-02-11 21:18:00 +0000 |
commit | f93c7b2dc81603960e32568befcbc63679ba91aa (patch) | |
tree | 7e12f647a678d4a364ebf4ebf5c34fedf1117f2a /src | |
parent | 510f0dbf6b829ebf119288dbdcef92d874bbf651 (diff) | |
download | plan9port-f93c7b2dc81603960e32568befcbc63679ba91aa.tar.gz plan9port-f93c7b2dc81603960e32568befcbc63679ba91aa.tar.bz2 plan9port-f93c7b2dc81603960e32568befcbc63679ba91aa.zip |
fix warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/tar.C | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/tar.C b/src/cmd/tar.C index 30241e2f..42bdcd41 100644 --- a/src/cmd/tar.C +++ b/src/cmd/tar.C @@ -18,7 +18,8 @@ * keyletters and options. */ #define TARGBEGIN {\ - (argv0 || (argv0 = *argv)), argv++, argc--;\ + __fixargv0(); if(!argv0) argv0=*argv; \ + argv++, argc--; \ if (argv[0]) {\ char *_args, *_argt;\ Rune _argc;\ |