Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin Remove option letter from getopt string, since it does not
details: https://anonhg.NetBSD.org/src/rev/79964a0f4b1e
branches: trunk
changeset: 566572:79964a0f4b1e
user: wiz <wiz%NetBSD.org@localhost>
date: Thu May 13 00:18:46 2004 +0000
description:
Remove option letter from getopt string, since it does not
have a case handler below. From aaron@openbsd.
diffstat:
sbin/fsck_ext2fs/main.c | 6 +++---
sbin/routed/main.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 7088417dbf49 -r 79964a0f4b1e sbin/fsck_ext2fs/main.c
--- a/sbin/fsck_ext2fs/main.c Wed May 12 23:03:11 2004 +0000
+++ b/sbin/fsck_ext2fs/main.c Thu May 13 00:18:46 2004 +0000
@@ -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 @@
#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 @@
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 -r 7088417dbf49 -r 79964a0f4b1e sbin/routed/main.c
--- a/sbin/routed/main.c Wed May 12 23:03:11 2004 +0000
+++ b/sbin/routed/main.c Thu May 13 00:18:46 2004 +0000
@@ -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 @@
"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 @@
(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;
Home |
Main Index |
Thread Index |
Old Index