summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2005-04-21 20:16:54 +0200
committerMichael Brown2005-04-21 20:16:54 +0200
commit905ca1f21d19ca2298d5a5ebb1be67c827092dc4 (patch)
treed7ca94e6478cf8cf103c4d04d883bbdc32c17423 /src/include
parentTypo (diff)
downloadipxe-905ca1f21d19ca2298d5a5ebb1be67c827092dc4.tar.gz
ipxe-905ca1f21d19ca2298d5a5ebb1be67c827092dc4.tar.xz
ipxe-905ca1f21d19ca2298d5a5ebb1be67c827092dc4.zip
Force a standard format upon debug messages.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/compiler.h b/src/include/compiler.h
index 58422d65c..80b762c61 100644
--- a/src/include/compiler.h
+++ b/src/include/compiler.h
@@ -46,7 +46,7 @@ __asm__ ( ".equ\t" OBJECT_SYMBOL_STR ", 0" );
#define DEBUG_SYMBOL _H2 ( debug_, OBJECT )
#if DEBUG_SYMBOL
#include "console.h"
-#define DBG(...) printf ( __VA_ARGS__ )
+#define DBG(...) printf ( _XSTR ( OBJECT ) ": " __VA_ARGS__ )
#define DEBUG_SYMBOL_STR _XSTR ( DEBUG_SYMBOL )
__asm__ ( ".equ\tWITH_DEBUG_MESSAGES, 0" );
#else