=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/auth-krb4.c,v retrieving revision 1.24.2.2 retrieving revision 1.24.2.3 diff -u -r1.24.2.2 -r1.24.2.3 --- src/usr.bin/ssh/Attic/auth-krb4.c 2002/05/17 00:03:23 1.24.2.2 +++ src/usr.bin/ssh/Attic/auth-krb4.c 2002/06/22 07:23:16 1.24.2.3 @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth-krb4.c,v 1.24.2.2 2002/05/17 00:03:23 miod Exp $"); +RCSID("$OpenBSD: auth-krb4.c,v 1.24.2.3 2002/06/22 07:23:16 miod Exp $"); #include "ssh.h" #include "ssh1.h" @@ -57,8 +57,8 @@ 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. */