diff options
author | Peter Wemm <peter@FreeBSD.org> | 1999-05-18 05:51:09 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1999-05-18 05:51:09 +0000 |
commit | d050fd42121a2fe1ec26788b4ef7b94e1c7be56c (patch) | |
tree | 16ec3b07b7bf2fbb43e5eb97c7e4dbfaf4c92d3b /libexec | |
parent | 4e045f937b222c7bac35d4d6417d33d7e44ea1ba (diff) | |
download | src-d050fd42121a2fe1ec26788b4ef7b94e1c7be56c.tar.gz src-d050fd42121a2fe1ec26788b4ef7b94e1c7be56c.zip |
Identify illegal switches, don't print them as '?' in the error..
Notes
Notes:
svn path=/head/; revision=47291
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 d14e2783659d..e65f283fc526 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); } /* |