diff options
author | peter <peter@FreeBSD.org> | 1999-05-18 05:51:09 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-05-18 05:51:09 +0000 |
commit | f2cbc8ce7a5bca71786f3fc0e985466bca23d37c (patch) | |
tree | 8a9078f9692f07e8759689b9e94d7a34551f9233 /libexec | |
parent | 016bcfa9ed0679b9ed8e5981f0ec3305d6f35128 (diff) | |
download | FreeBSD-src-f2cbc8ce7a5bca71786f3fc0e985466bca23d37c.zip FreeBSD-src-f2cbc8ce7a5bca71786f3fc0e985466bca23d37c.tar.gz |
Identify illegal switches, don't print them as '?' in the error..
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/fingerd/fingerd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/fingerd/fingerd.c b/libexec/fingerd/fingerd.c index d14e278..e65f283 100644 --- a/libexec/fingerd/fingerd.c +++ b/libexec/fingerd/fingerd.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)fingerd.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id: fingerd.c,v 1.12 1999/04/06 23:05:56 brian Exp $"; + "$Id: fingerd.c,v 1.13 1999/04/07 06:00:22 brian Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -93,7 +93,7 @@ main(argc, argv) break; case '?': default: - logerr("illegal option -- %c", ch); + logerr("illegal option -- %c", optopt); } /* |