From: Sam Hartman Date: Mon, 19 Sep 2011 00:58:52 +0000 (+0000) Subject: __func__ -> __FUNCTION__ in #ifdef DEBUG blocks in util_errmap.c X-Git-Tag: krb5-1.10-alpha1~175 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f62c3d83639402c593a7bd7b7e3173413388f23b;p=krb5.git __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 --- 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);