diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-09-19 08:15:57 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-09-19 08:15:57 +0000 |
commit | 1097819be54dd29c3d871a614d407d43cc9d2323 (patch) | |
tree | 716eefb80d7b0934b64d1bbc5e74abeb8b688437 | |
parent | 4591c200f94674ae06bafed47fe1073f1d5f0ce1 (diff) |
whack getopt ? matching; jeffi@rcn.com
-rw-r--r-- | usr.sbin/syslogd/syslogd.c | 5 | ||||
-rw-r--r-- | usr.sbin/trpt/trpt.c | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index 89f13653223..ac4462f551c 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syslogd.c,v 1.66 2003/08/18 16:56:31 millert Exp $ */ +/* $OpenBSD: syslogd.c,v 1.67 2003/09/19 08:15:55 deraadt Exp $ */ /* * Copyright (c) 1983, 1988, 1993, 1994 @@ -39,7 +39,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94"; #else -static const char rcsid[] = "$OpenBSD: syslogd.c,v 1.66 2003/08/18 16:56:31 millert Exp $"; +static const char rcsid[] = "$OpenBSD: syslogd.c,v 1.67 2003/09/19 08:15:55 deraadt Exp $"; #endif #endif /* not lint */ @@ -274,7 +274,6 @@ main(int argc, char *argv[]) else funixn[nfunix++] = optarg; break; - case '?': default: usage(); } diff --git a/usr.sbin/trpt/trpt.c b/usr.sbin/trpt/trpt.c index 6354f1db1ed..e89cfa69cfb 100644 --- a/usr.sbin/trpt/trpt.c +++ b/usr.sbin/trpt/trpt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trpt.c,v 1.18 2003/06/02 23:36:55 millert Exp $ */ +/* $OpenBSD: trpt.c,v 1.19 2003/09/19 08:15:56 deraadt Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -182,7 +182,6 @@ main(int argc, char *argv[]) case 'M': core = optarg; break; - case '?': default: usage(); /* NOTREACHED */ |