From 33d3b9f878497a4fe4795218f313fefde85a7fae Mon Sep 17 00:00:00 2001
From: Dima Dorfman
Date: Sat, 9 Jun 2001 04:32:46 +0000
Subject: [PATCH] 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(-)
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 */