summaryrefslogtreecommitdiff
path: root/auth-krb4.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-krb4.c')
-rw-r--r--auth-krb4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth-krb4.c b/auth-krb4.c
index 2a3cf5314..1cc528aa0 100644
--- a/auth-krb4.c
+++ b/auth-krb4.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth-krb4.c,v 1.26 2002/03/18 01:30:10 dugsong Exp $"); 26RCSID("$OpenBSD: auth-krb4.c,v 1.27 2002/06/11 05:46:20 mpech Exp $");
27 27
28#include "ssh.h" 28#include "ssh.h"
29#include "ssh1.h" 29#include "ssh1.h"
@@ -57,8 +57,8 @@ krb4_init(void *context)
57 if (lstat("/ticket", &st) != -1) 57 if (lstat("/ticket", &st) != -1)
58 tkt_root = "/ticket/"; 58 tkt_root = "/ticket/";
59#endif /* AFS */ 59#endif /* AFS */
60 snprintf(authctxt->krb4_ticket_file, MAXPATHLEN, "%s%u_%d", 60 snprintf(authctxt->krb4_ticket_file, MAXPATHLEN, "%s%u_%ld",
61 tkt_root, authctxt->pw->pw_uid, getpid()); 61 tkt_root, authctxt->pw->pw_uid, (long)getpid());
62 krb_set_tkt_string(authctxt->krb4_ticket_file); 62 krb_set_tkt_string(authctxt->krb4_ticket_file);
63 } 63 }
64 /* Register ticket cleanup in case of fatal error. */ 64 /* Register ticket cleanup in case of fatal error. */