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