diff options
Diffstat (limited to 'kerberosIV')
-rw-r--r-- | kerberosIV/krb/in_tkt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kerberosIV/krb/in_tkt.c b/kerberosIV/krb/in_tkt.c index 21c841e164f..0bb8926c209 100644 --- a/kerberosIV/krb/in_tkt.c +++ b/kerberosIV/krb/in_tkt.c @@ -100,7 +100,7 @@ in_tkt(pname, pinst) if (krb_debug) printf("swapped UID's %d and %d\n",(int)metoo,(int)me); } - if ((tktfile = creat(file,0600)) < 0) { + if ((tktfile = open (file,O_CREAT|O_EXCL|O_WRONLY,0600)) < 0) { if (krb_debug) fprintf(stderr,"Error initializing %s",TKT_FILE); return(KFAILURE); |