diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-05-23 17:19:25 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-05-23 17:19:25 +0000 |
commit | 5d08734a5b3d621dfd1d78fa4e113f91bde28818 (patch) | |
tree | 52aa3b410719e56423a92a9ab98f8a11e62df786 /kerberosIV/kauth | |
parent | c392499dddf5d594aff961f2059d4c3d007889bf (diff) |
getopt(3) returns -1, not EOF
Diffstat (limited to 'kerberosIV/kauth')
-rw-r--r-- | kerberosIV/kauth/kauth.c | 4 |
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(); |