diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2004-04-07 14:09:36 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2004-04-07 14:09:36 +0000 |
commit | eef066e143e1ba9826b36b7e5b48c9851784f7a2 (patch) | |
tree | 4e08e5352af123e6189b9ebc0e78237b9ac537cf /usr.sbin/lpr/lpd | |
parent | d62260efbb210817cdf2745812dff843031c5840 (diff) |
Remove those option letters from the getopt string which do not have a case
handler below. millert@ ok
Diffstat (limited to 'usr.sbin/lpr/lpd')
-rw-r--r-- | usr.sbin/lpr/lpd/lpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/lpr/lpd/lpd.c b/usr.sbin/lpr/lpd/lpd.c index 658c18f437e..cefff07f5d1 100644 --- a/usr.sbin/lpr/lpd/lpd.c +++ b/usr.sbin/lpr/lpd/lpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lpd.c,v 1.43 2003/11/08 19:17:29 jmc Exp $ */ +/* $OpenBSD: lpd.c,v 1.44 2004/04/07 14:09:35 aaron Exp $ */ /* $NetBSD: lpd.c,v 1.33 2002/01/21 14:42:29 wiz Exp $ */ /* @@ -41,7 +41,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)lpd.c 8.7 (Berkeley) 5/10/95"; #else -static const char rcsid[] = "$OpenBSD: lpd.c,v 1.43 2003/11/08 19:17:29 jmc Exp $"; +static const char rcsid[] = "$OpenBSD: lpd.c,v 1.44 2004/04/07 14:09:35 aaron Exp $"; #endif #endif /* not lint */ @@ -167,7 +167,7 @@ main(int argc, char **argv) options = 0; gethostname(host, sizeof(host)); - while ((i = getopt(argc, argv, "b:cdln:rsw:W")) != -1) { + while ((i = getopt(argc, argv, "b:dln:rsw:W")) != -1) { switch (i) { case 'b': if (blist_addrs >= blist_size) { |