From 3aece464217bf99e324f6e08e0755b193eb4a274 Mon Sep 17 00:00:00 2001 From: Hans Insulander Date: Fri, 25 Feb 2000 22:09:15 +0000 Subject: TKT_ROOT has changed from a string to a function in newer KerberosIV versions. (Ok deraadt@) --- usr.bin/passwd/krb_passwd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/passwd') diff --git a/usr.bin/passwd/krb_passwd.c b/usr.bin/passwd/krb_passwd.c index 6e50263dbbb..2b78a9ecc68 100644 --- a/usr.bin/passwd/krb_passwd.c +++ b/usr.bin/passwd/krb_passwd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: krb_passwd.c,v 1.12 1999/08/16 19:51:26 art Exp $ */ +/* $OpenBSD: krb_passwd.c,v 1.13 2000/02/25 22:09:14 hin Exp $ */ /* $KTH: kpasswd.c,v 1.25 1997/05/02 14:28:51 assar Exp $ */ /* @@ -158,7 +158,7 @@ krb_passwd(int argc, char **argv) } snprintf(tktstring, sizeof(tktstring), - TKT_ROOT "_cpw_%u", (unsigned)getpid()); + "%s_cpw_%u", TKT_ROOT, (unsigned)getpid()); krb_set_tkt_string(tktstring); if (get_pw_new_pwd(pword, sizeof(pword), &principal, -- cgit v1.2.3