From f62c3d83639402c593a7bd7b7e3173413388f23b Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Mon, 19 Sep 2011 00:58:52 +0000 Subject: [PATCH] __func__ -> __FUNCTION__ in #ifdef DEBUG blocks in util_errmap.c Signed-off-by: Kevin Wasserman Signed-off-by: Sam Hartman git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25200 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/generic/util_errmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/gssapi/generic/util_errmap.c b/src/lib/gssapi/generic/util_errmap.c index 5a863b6c0..9fbc9fc4c 100644 --- a/src/lib/gssapi/generic/util_errmap.c +++ b/src/lib/gssapi/generic/util_errmap.c @@ -197,7 +197,7 @@ OM_uint32 gssint_mecherrmap_map(OM_uint32 minor, const gss_OID_desc * oid) if (p != NULL) { k5_mutex_unlock(&mutex); #ifdef DEBUG - fprintf(f, "%s: found ", __func__); + fprintf(f, "%s: found ", __FUNCTION__); mecherror_print(me, f); fprintf(f, " in map as %lu\n", (unsigned long) *p); if (f != stderr) fclose(f); @@ -234,7 +234,7 @@ OM_uint32 gssint_mecherrmap_map(OM_uint32 minor, const gss_OID_desc * oid) free(me_copy.mech.elements); } #ifdef DEBUG - fprintf(f, "%s: mapping ", __func__); + fprintf(f, "%s: mapping ", __FUNCTION__); mecherror_print(me, f); fprintf(f, " to %lu: err=%d\nnew map: ", (unsigned long) new_status, err); mecherrmap_printmap(&m, f); -- 2.26.2