From 3fd24a3ac323b57a9d6bb700f51d7bbc5bbc0ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 11 Dec 2008 04:54:44 +0000 Subject: [PATCH] print pointer with %p git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24076 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/scache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/krb5/scache.c b/lib/krb5/scache.c index 7a4a73836..a35be0e4b 100644 --- a/lib/krb5/scache.c +++ b/lib/krb5/scache.c @@ -320,7 +320,7 @@ scc_alloc(krb5_context context, const char *name) } } else { _krb5_expand_default_cc_name(context, KRB5_SCACHE_DB, &s->file); - asprintf(&s->name, "unique-%08x", (unsigned int)s); + asprintf(&s->name, "unique-%p", s); } if (s->file == NULL || s->name == NULL) { scc_free(s);