From 1097819be54dd29c3d871a614d407d43cc9d2323 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 19 Sep 2003 08:15:57 +0000 Subject: whack getopt ? matching; jeffi@rcn.com --- usr.sbin/syslogd/syslogd.c | 5 ++--- 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 */ -- cgit v1.2.3