From f2cbc8ce7a5bca71786f3fc0e985466bca23d37c Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 18 May 1999 05:51:09 +0000 Subject: Identify illegal switches, don't print them as '?' in the error.. --- libexec/fingerd/fingerd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec/fingerd') 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 @@ -93,7 +93,7 @@ main(argc, argv) break; case '?': default: - logerr("illegal option -- %c", ch); + logerr("illegal option -- %c", optopt); } /* -- cgit v1.1