fixed dbg() printout macro

This commit is contained in:
Markus Fröschle
2014-08-10 18:22:59 +00:00
parent 670181c8d4
commit 6074b0c9f1

View File

@@ -64,7 +64,7 @@
//#define DEBUG_MMU
#ifdef DEBUG_MMU
#define dbg(format, arg...) do { xprintf("DEBUG: " format, ##arg);} while(0)
#define dbg(format, arg...) do { xprintf("DEBUG (%s()): " format, __FUNCTION__, ##arg);} while(0)
#else
#define dbg(format, arg...) do {;} while (0)
#endif /* DEBUG_MMU */