=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/passwd/Attic/krb_passwd.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- src/usr.bin/passwd/Attic/krb_passwd.c 1998/03/09 22:17:32 1.10 +++ src/usr.bin/passwd/Attic/krb_passwd.c 1999/05/23 17:19:21 1.11 @@ -1,4 +1,4 @@ -/* $OpenBSD: krb_passwd.c,v 1.10 1998/03/09 22:17:32 art Exp $ */ +/* $OpenBSD: krb_passwd.c,v 1.11 1999/05/23 17:19:21 aaron Exp $ */ /* $KTH: kpasswd.c,v 1.25 1997/05/02 14:28:51 assar Exp $ */ /* @@ -84,7 +84,7 @@ default_principal.instance, default_principal.realm); - while ((c = getopt(argc, argv, "u:n:i:r:h")) != EOF) { + while ((c = getopt(argc, argv, "u:n:i:r:h")) != -1) { switch (c) { case 'u': status = krb_parse_name (optarg, &principal);