__func__ -> __FUNCTION__ in #ifdef DEBUG blocks in util_errmap.c
authorSam Hartman <hartmans@mit.edu>
Mon, 19 Sep 2011 00:58:52 +0000 (00:58 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 19 Sep 2011 00:58:52 +0000 (00:58 +0000)
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
Signed-off-by: Sam Hartman <hartmans@debian.org>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25200 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/generic/util_errmap.c

index 5a863b6c08f613c62a1a1c9051706af4a71b01f0..9fbc9fc4ca87084359470451c26d4a01b1900a6b 100644 (file)
@@ -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);