fixed dbg() printout macro

This commit is contained in:
Markus Fröschle
2014-08-10 18:22:59 +00:00
parent 8a887fae45
commit 5c0ec291d8

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 */