diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2004-04-07 14:09:36 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2004-04-07 14:09:36 +0000 |
commit | eef066e143e1ba9826b36b7e5b48c9851784f7a2 (patch) | |
tree | 4e08e5352af123e6189b9ebc0e78237b9ac537cf /sbin/ping/ping.c | |
parent | d62260efbb210817cdf2745812dff843031c5840 (diff) |
Remove those option letters from the getopt string which do not have a case
handler below. millert@ ok
Diffstat (limited to 'sbin/ping/ping.c')
-rw-r--r-- | sbin/ping/ping.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c index c42ff2eb8af..3f1b77cc675 100644 --- a/sbin/ping/ping.c +++ b/sbin/ping/ping.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ping.c,v 1.65 2004/03/21 20:00:55 markus Exp $ */ +/* $OpenBSD: ping.c,v 1.66 2004/04/07 14:09:35 aaron Exp $ */ /* $NetBSD: ping.c,v 1.20 1995/08/11 22:37:58 cgd Exp $ */ /* @@ -43,7 +43,7 @@ static const char copyright[] = #if 0 static char sccsid[] = "@(#)ping.c 8.1 (Berkeley) 6/5/93"; #else -static const char rcsid[] = "$OpenBSD: ping.c,v 1.65 2004/03/21 20:00:55 markus Exp $"; +static const char rcsid[] = "$OpenBSD: ping.c,v 1.66 2004/04/07 14:09:35 aaron Exp $"; #endif #endif /* not lint */ @@ -211,7 +211,7 @@ main(int argc, char *argv[]) preload = 0; datap = &outpack[8 + sizeof(struct tvi)]; - while ((ch = getopt(argc, argv, "DI:LRS:c:dfh:i:l:np:qrs:T:t:vw:")) != -1) + while ((ch = getopt(argc, argv, "DI:LRS:c:dfi:l:np:qrs:T:t:vw:")) != -1) switch(ch) { case 'c': npackets = strtonum(optarg, 1, INT_MAX, |