=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/passwd/passwd.c,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/passwd/passwd.c 1996/06/26 05:37:47 1.4 --- src/usr.bin/passwd/passwd.c 1997/01/15 23:43:01 1.5 *************** *** 1,4 **** ! /* $OpenBSD: passwd.c,v 1.4 1996/06/26 05:37:47 deraadt Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. --- 1,4 ---- ! /* $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,47 **** #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 $"; #endif /* not lint */ #include --- 41,47 ---- #ifndef lint /*static char sccsid[] = "from: @(#)passwd.c 5.5 (Berkeley) 7/6/91";*/ ! static char rcsid[] = "$OpenBSD: passwd.c,v 1.5 1997/01/15 23:43:01 millert Exp $"; #endif /* not lint */ #include *************** *** 88,94 **** if (basename == NULL) basename = argv[0]; ! while ((ch = getopt(argc, argv, "lky")) != EOF) switch (ch) { case 'l': /* change local password file */ use_kerberos = 0; --- 88,94 ---- if (basename == NULL) basename = argv[0]; ! while ((ch = getopt(argc, argv, "lky")) != -1) switch (ch) { case 'l': /* change local password file */ use_kerberos = 0;