aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-06-09 04:32:46 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-06-09 04:32:46 +0000
commit33d3b9f878497a4fe4795218f313fefde85a7fae (patch)
tree619238b6e59f84b2147023968c7c65995ce87a75 /sbin
parent31fb46619407cf65f8f3be8668efed6fc1980e05 (diff)
downloadsrc-33d3b9f878497a4fe4795218f313fefde85a7fae.tar.gz
src-33d3b9f878497a4fe4795218f313fefde85a7fae.zip
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>
Notes
Notes: svn path=/head/; revision=77929
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dump/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/dump/main.c b/sbin/dump/main.c
index 41648c1969c5..549f1e989a31 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 */