diff options
author | dd <dd@FreeBSD.org> | 2001-06-09 04:32:46 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-06-09 04:32:46 +0000 |
commit | 0a67a9b12cd19077a925d198eaa53db861683fd5 (patch) | |
tree | 619238b6e59f84b2147023968c7c65995ce87a75 /sbin/dump | |
parent | 555fbb44b39b7f4cdc9399b4da3c3a9397da9643 (diff) | |
download | FreeBSD-src-0a67a9b12cd19077a925d198eaa53db861683fd5.zip FreeBSD-src-0a67a9b12cd19077a925d198eaa53db861683fd5.tar.gz |
Since we use getopt (in rev. 1.12), there's no need for the case's for
the individual options to increment argv and decrement argc. This
caused the -T option to swallow an extra argument.
PR: 27982
Submitted by: Samuel Greear <sgreear@vsni.com>
Diffstat (limited to 'sbin/dump')
-rw-r--r-- | sbin/dump/main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/dump/main.c b/sbin/dump/main.c index 41648c1..549f1e9 100644 --- a/sbin/dump/main.c +++ b/sbin/dump/main.c @@ -191,8 +191,6 @@ main(argc, argv) } Tflag = 1; lastlevel = '?'; - argc--; - argv++; break; case 'u': /* update /etc/dumpdates */ |