david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Force a standard format upon debug messages.

This commit is contained in:
Michael Brown 2005-04-21 18:16:54 +00:00
parent c0239ebb03
commit 905ca1f21d
1 changed files with 1 additions and 1 deletions

View File

@ -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