summaryrefslogtreecommitdiff
path: root/kerberosIV/krb
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-22 23:03:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-22 23:03:57 +0000
commita4113145e51435242d4294945cac5291a5ca8a8e (patch)
treee9487136e57db0935fcaaa6118edbfe8280c44dd /kerberosIV/krb
parentc372b835cf9134279f02499f49e0474fd30422fd (diff)
%u for uid
Diffstat (limited to 'kerberosIV/krb')
-rw-r--r--kerberosIV/krb/tkt_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerberosIV/krb/tkt_string.c b/kerberosIV/krb/tkt_string.c
index a0fc435e5d5..1c63f0346e8 100644
--- a/kerberosIV/krb/tkt_string.c
+++ b/kerberosIV/krb/tkt_string.c
@@ -63,7 +63,7 @@ tkt_string()
/* 32 bits of signed integer will always fit in 11 characters
(including the sign), so no need to worry about overflow */
(void) snprintf(krb_ticket_string, sizeof(krb_ticket_string),
- "%s%d", TKT_ROOT, (int)getuid());
+ "%s%u", TKT_ROOT, getuid());
}
}
return krb_ticket_string;