print pointer with %p

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24076 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-12-11 04:54:44 +00:00
parent fd6e3cfb9d
commit 3fd24a3ac3

View File

@@ -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);