From 9ca7a065beaee93969b39117a7f6d466ff2fb171 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 27 Nov 2011 00:27:43 -0500 Subject: ldso: use __func__ rather than __FUNCTION__ The former is part of a standard (C99) while the latter is not. Signed-off-by: Mike Frysinger --- ldso/include/ldso.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldso/include') diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h index 9fecff96c..4c091779d 100644 --- a/ldso/include/ldso.h +++ b/ldso/include/ldso.h @@ -102,7 +102,7 @@ extern char *_dl_debug_nofixups; extern char *_dl_debug_bindings; extern int _dl_debug_file; # define __dl_debug_dprint(fmt, args...) \ - _dl_dprintf(_dl_debug_file, "%s:%i: " fmt, __FUNCTION__, __LINE__, ## args); + _dl_dprintf(_dl_debug_file, "%s:%i: " fmt, __func__, __LINE__, ## args); # define _dl_if_debug_dprint(fmt, args...) \ do { if (_dl_debug) __dl_debug_dprint(fmt, ## args); } while (0) #else -- cgit v1.2.3