mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 06:52:45 +00:00
Identify illegal switches, don't print them as '?' in the error..
This commit is contained in:
parent
4e045f937b
commit
d050fd4212
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47291
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user