summaryrefslogtreecommitdiff
path: root/usr.bin/passwd/passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/passwd/passwd.c')
-rw-r--r--usr.bin/passwd/passwd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/passwd/passwd.c b/usr.bin/passwd/passwd.c
index dfd0e4ae025..a0b984ce6c2 100644
--- a/usr.bin/passwd/passwd.c
+++ b/usr.bin/passwd/passwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: passwd.c,v 1.4 1996/06/26 05:37:47 deraadt Exp $ */
+/* $OpenBSD: passwd.c,v 1.5 1997/01/15 23:43:01 millert Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
@@ -41,7 +41,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)passwd.c 5.5 (Berkeley) 7/6/91";*/
-static char rcsid[] = "$OpenBSD: passwd.c,v 1.4 1996/06/26 05:37:47 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: passwd.c,v 1.5 1997/01/15 23:43:01 millert Exp $";
#endif /* not lint */
#include <stdio.h>
@@ -88,7 +88,7 @@ main(argc, argv)
if (basename == NULL)
basename = argv[0];
- while ((ch = getopt(argc, argv, "lky")) != EOF)
+ while ((ch = getopt(argc, argv, "lky")) != -1)
switch (ch) {
case 'l': /* change local password file */
use_kerberos = 0;