summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2004-01-06 13:28:20 +0000
committerwiz <wiz@NetBSD.org>2004-01-06 13:28:20 +0000
commita2eb139ce9e2a2dfd4a633f06f0c6f95f5e77ce1 (patch)
tree0aefbbc4e0204e70a71efc38dfef5ca8674adce4
parent165989f36cff2a4fbcb359b52174827b45729e86 (diff)
getopt still looks for -c (killed long ago)
remove unneeded break; after usage(); From Jeff Ito in PR 23994.
-rw-r--r--usr.sbin/ac/ac.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/ac/ac.c b/usr.sbin/ac/ac.c
index 33d769f3061..6c9f31e8999 100644
--- a/usr.sbin/ac/ac.c
+++ b/usr.sbin/ac/ac.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ac.c,v 1.18 2004/01/05 23:23:37 jmmv Exp $ */
+/* $NetBSD: ac.c,v 1.19 2004/01/06 13:28:20 wiz Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -49,7 +49,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: ac.c,v 1.18 2004/01/05 23:23:37 jmmv Exp $");
+__RCSID("$NetBSD: ac.c,v 1.19 2004/01/06 13:28:20 wiz Exp $");
#endif
#include <sys/types.h>
@@ -306,7 +306,7 @@ main(argc, argv)
int c;
fp = NULL;
- while ((c = getopt(argc, argv, "Dc:dpt:w:")) != -1) {
+ while ((c = getopt(argc, argv, "Ddpt:w:")) != -1) {
switch (c) {
#ifdef DEBUG
case 'D':
@@ -328,7 +328,6 @@ main(argc, argv)
case '?':
default:
usage();
- break;
}
}