From 0a67a9b12cd19077a925d198eaa53db861683fd5 Mon Sep 17 00:00:00 2001
From: dd
Date: Sat, 9 Jun 2001 04:32:46 +0000
Subject: 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
---
sbin/dump/main.c | 2 --
1 file changed, 2 deletions(-)
(limited to 'sbin/dump')
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 */
--
cgit v1.1