summaryrefslogtreecommitdiffstats
path: root/libexec/fingerd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/fingerd')
-rw-r--r--libexec/fingerd/fingerd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/fingerd/fingerd.c b/libexec/fingerd/fingerd.c
index 455d6e9..93d6f25 100644
--- a/libexec/fingerd/fingerd.c
+++ b/libexec/fingerd/fingerd.c
@@ -42,7 +42,7 @@ static char copyright[] =
static char sccsid[] = "@(#)fingerd.c 8.1 (Berkeley) 6/4/93";
*/
static const char rcsid[] =
- "$Id$";
+ "$Id: fingerd.c,v 1.7 1997/02/22 14:21:25 peter Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -80,7 +80,7 @@ main(argc, argv)
logging = secure = 0;
openlog("fingerd", LOG_PID | LOG_CONS, LOG_DAEMON);
opterr = 0;
- while ((ch = getopt(argc, argv, "slp:")) != EOF)
+ while ((ch = getopt(argc, argv, "slp:")) != -1)
switch (ch) {
case 'l':
logging = 1;
OpenPOWER on IntegriCloud