summaryrefslogtreecommitdiff
path: root/kerberosIV/kauth
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-05-23 17:19:25 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-05-23 17:19:25 +0000
commit5d08734a5b3d621dfd1d78fa4e113f91bde28818 (patch)
tree52aa3b410719e56423a92a9ab98f8a11e62df786 /kerberosIV/kauth
parentc392499dddf5d594aff961f2059d4c3d007889bf (diff)
getopt(3) returns -1, not EOF
Diffstat (limited to 'kerberosIV/kauth')
-rw-r--r--kerberosIV/kauth/kauth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kerberosIV/kauth/kauth.c b/kerberosIV/kauth/kauth.c
index 2a3c6734747..4d89ff18c33 100644
--- a/kerberosIV/kauth/kauth.c
+++ b/kerberosIV/kauth/kauth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kauth.c,v 1.4 1998/10/28 17:57:09 art Exp $ */
+/* $OpenBSD: kauth.c,v 1.5 1999/05/23 17:19:24 aaron Exp $ */
/* $KTH: kauth.c,v 1.81 1997/12/09 10:36:33 joda Exp $ */
/*
@@ -180,7 +180,7 @@ main(int argc, char **argv)
strupr(princ.realm);
}
- while ((c = getopt(argc, argv, "r:t:f:hdl:n:c:")) != EOF)
+ while ((c = getopt(argc, argv, "r:t:f:hdl:n:c:")) != -1)
switch (c) {
case 'd':
krb_enable_debug();