summaryrefslogtreecommitdiff
path: root/security/krb5/files/patch-as
diff options
context:
space:
mode:
Diffstat (limited to 'security/krb5/files/patch-as')
-rw-r--r--security/krb5/files/patch-as4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/krb5/files/patch-as b/security/krb5/files/patch-as
index 8ab90bb8494e..519a1c74d4cb 100644
--- a/security/krb5/files/patch-as
+++ b/security/krb5/files/patch-as
@@ -42,7 +42,7 @@
}
-! while(!done && ((option = getopt(pargc, pargv,"n:c:C:r:a:zZDfpkql:e:")) != EOF)){
+! while(!done && ((option = getopt(pargc, pargv,"n:c:C:r:a:zZDfpkql:e:")) != -1)){
switch (option) {
case 'r':
options.opt |= KDC_OPT_RENEWABLE;
@@ -50,7 +50,7 @@
}
-! while(!done && ((option = getopt(pargc, pargv,"n:c:C:r:a:zZDfpkmql:e:")) != EOF)){
+! while(!done && ((option = getopt(pargc, pargv,"n:c:C:r:a:zZDfpkmql:e:")) != -1)){
switch (option) {
case 'r':
options.opt |= KDC_OPT_RENEWABLE;