summaryrefslogtreecommitdiff
path: root/kerberosIV/ksrvutil
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/ksrvutil
parentc392499dddf5d594aff961f2059d4c3d007889bf (diff)
getopt(3) returns -1, not EOF
Diffstat (limited to 'kerberosIV/ksrvutil')
-rw-r--r--kerberosIV/ksrvutil/ksrvutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kerberosIV/ksrvutil/ksrvutil.c b/kerberosIV/ksrvutil/ksrvutil.c
index 6530d6d057f..5fd37b25fb8 100644
--- a/kerberosIV/ksrvutil/ksrvutil.c
+++ b/kerberosIV/ksrvutil/ksrvutil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ksrvutil.c,v 1.5 1997/12/17 07:50:16 art Exp $ */
+/* $OpenBSD: ksrvutil.c,v 1.6 1999/05/23 17:19:24 aaron Exp $ */
/* $KTH: ksrvutil.c,v 1.39 1997/05/02 14:28:52 assar Exp $ */
/*
@@ -323,7 +323,7 @@ main(int argc, char **argv)
local_realm[REALM_SZ - 1] = '\0';
}
- while((c = getopt(argc, argv, "ikc:f:p:r:")) != EOF) {
+ while((c = getopt(argc, argv, "ikc:f:p:r:")) != -1) {
switch (c) {
case 'i':
interactive++;