aboutsummaryrefslogtreecommitdiff
path: root/libexec/fingerd/fingerd.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1997-03-28 15:48:21 +0000
committerWarner Losh <imp@FreeBSD.org>1997-03-28 15:48:21 +0000
commit91477cc4d7fe265d722af24b978c1e6147178301 (patch)
tree8a411abbd72d727a49138925e161f1519e274a41 /libexec/fingerd/fingerd.c
parent93ef08af3ef1a9fb7a3af6b7212d3ca094e9aba6 (diff)
Notes
Diffstat (limited to 'libexec/fingerd/fingerd.c')
-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 455d6e988ce6..93d6f259a263 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;