aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/include')
-rw-r--r--xorg-server/include/misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/include/misc.h b/xorg-server/include/misc.h
index 61f690927..ed280337a 100644
--- a/xorg-server/include/misc.h
+++ b/xorg-server/include/misc.h
@@ -373,7 +373,7 @@ extern _X_EXPORT unsigned long serverGeneration;
#define __BUG_WARN_MSG(cond, with_msg, ...) \
do { if (cond) { \
ErrorF("BUG: triggered 'if (" #cond ")'\nBUG: %s:%d in %s()\n", \
- __FILE__, __LINE__, __func__); \
+ __FILE__, __LINE__, __FUNCTION__); \
if (with_msg) ErrorF(__VA_ARGS__); \
xorg_backtrace(); \
} } while(0)