From 0a1db66278c02d3b6b3dce64e8722e835792785f Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 13 May 2004 00:18:46 +0000 Subject: [PATCH] Remove option letter from getopt string, since it does not have a case handler below. From aaron@openbsd. --- sbin/fsck_ext2fs/main.c | 6 +++--- sbin/routed/main.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sbin/fsck_ext2fs/main.c b/sbin/fsck_ext2fs/main.c index 3d29e0b7b831..d370beaf29b5 100644 --- a/sbin/fsck_ext2fs/main.c +++ b/sbin/fsck_ext2fs/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.17 2004/04/21 01:05:33 christos Exp $ */ +/* $NetBSD: main.c,v 1.18 2004/05/13 00:18:46 wiz Exp $ */ /* * Copyright (c) 1980, 1986, 1993 @@ -68,7 +68,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1986, 1993\n\ #if 0 static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 1/23/94"; #else -__RCSID("$NetBSD: main.c,v 1.17 2004/04/21 01:05:33 christos Exp $"); +__RCSID("$NetBSD: main.c,v 1.18 2004/05/13 00:18:46 wiz Exp $"); #endif #endif /* not lint */ @@ -108,7 +108,7 @@ main(argc, argv) sync(); skipclean = 1; - while ((ch = getopt(argc, argv, "b:c:dfm:npqy")) != -1) { + while ((ch = getopt(argc, argv, "b:dfm:npqy")) != -1) { switch (ch) { case 'b': skipclean = 0; diff --git a/sbin/routed/main.c b/sbin/routed/main.c index 927c1d33aca2..b0740da546f9 100644 --- a/sbin/routed/main.c +++ b/sbin/routed/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.36 2004/03/27 20:50:43 christos Exp $ */ +/* $NetBSD: main.c,v 1.37 2004/05/13 00:21:47 wiz Exp $ */ /* * Copyright (c) 1983, 1988, 1993 @@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1988, 1993\n" "The Regents of the University of California." " All rights reserved.\n"); #ifdef __NetBSD__ -__RCSID("$NetBSD: main.c,v 1.36 2004/03/27 20:50:43 christos Exp $"); +__RCSID("$NetBSD: main.c,v 1.37 2004/05/13 00:21:47 wiz Exp $"); #elif defined(__FreeBSD__) __RCSID("$FreeBSD$"); #else @@ -140,7 +140,7 @@ main(int argc, (void)gethostname(myname, sizeof(myname) - 1); (void)gethost(myname, &myaddr); - while ((n = getopt(argc, argv, "sqdghmpAtvT:F:P:")) != -1) { + while ((n = getopt(argc, argv, "sqdghmAtvT:F:P:")) != -1) { switch (n) { case 's': supplier = 1;