diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-11 16:42:49 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-11 16:42:49 +0000 |
commit | ce0f6342702a660f97b57cbdeb671feb02bae382 (patch) | |
tree | f8243804c8a0c71372d6a4fe92759a034e9dce38 /auth-krb4.c | |
parent | f9c4884c8effe6dd78ab3ed4e42ed69c4a8652d0 (diff) |
- mpech@cvs.openbsd.org 2002/06/11 05:46:20
[auth-krb4.c monitor.h serverloop.c session.c ssh-agent.c sshd.c]
pid_t cleanup. Markus need this now to keep hacking.
markus@, millert@ ok
Diffstat (limited to 'auth-krb4.c')
-rw-r--r-- | auth-krb4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/auth-krb4.c b/auth-krb4.c index 2a3cf531..1cc528aa 100644 --- a/auth-krb4.c +++ b/auth-krb4.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth-krb4.c,v 1.26 2002/03/18 01:30:10 dugsong Exp $"); +RCSID("$OpenBSD: auth-krb4.c,v 1.27 2002/06/11 05:46:20 mpech Exp $"); #include "ssh.h" #include "ssh1.h" @@ -57,8 +57,8 @@ krb4_init(void *context) if (lstat("/ticket", &st) != -1) tkt_root = "/ticket/"; #endif /* AFS */ - snprintf(authctxt->krb4_ticket_file, MAXPATHLEN, "%s%u_%d", - tkt_root, authctxt->pw->pw_uid, getpid()); + snprintf(authctxt->krb4_ticket_file, MAXPATHLEN, "%s%u_%ld", + tkt_root, authctxt->pw->pw_uid, (long)getpid()); krb_set_tkt_string(authctxt->krb4_ticket_file); } /* Register ticket cleanup in case of fatal error. */ |