summaryrefslogtreecommitdiff
path: root/kerberosIV/kadmin/kadmin.c
diff options
context:
space:
mode:
Diffstat (limited to 'kerberosIV/kadmin/kadmin.c')
-rw-r--r--kerberosIV/kadmin/kadmin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kerberosIV/kadmin/kadmin.c b/kerberosIV/kadmin/kadmin.c
index 9de5accf798..12f62f24b80 100644
--- a/kerberosIV/kadmin/kadmin.c
+++ b/kerberosIV/kadmin/kadmin.c
@@ -1,4 +1,4 @@
-/* $Id: kadmin.c,v 1.3 1996/09/15 23:30:52 millert Exp $ */
+/* $Id: kadmin.c,v 1.4 1997/01/15 23:40:50 millert Exp $ */
/*
* Copyright (C) 1989 by the Massachusetts Institute of Technology
@@ -318,7 +318,7 @@ do_init(int argc, char **argv)
else
strcpy(krbrlm, default_realm);
- while ((c = getopt(argc, argv, OPTION_STRING)) != EOF)
+ while ((c = getopt(argc, argv, OPTION_STRING)) != -1)
switch (c) {
case 'u':
strncpy(myname, optarg, sizeof(myname) - 1);