diff options
Diffstat (limited to 'darwin-user/commpage.c')
-rw-r--r-- | darwin-user/commpage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/darwin-user/commpage.c b/darwin-user/commpage.c index 58f429c19..8961bef44 100644 --- a/darwin-user/commpage.c +++ b/darwin-user/commpage.c @@ -35,9 +35,9 @@ //#define DEBUG_COMMPAGE #ifdef DEBUG_COMMPAGE -# define DPRINTF(...) do { if(loglevel) fprintf(logfile, __VA_ARGS__); printf(__VA_ARGS__); } while(0) +# define DPRINTF(...) do { qemu_log(__VA_ARGS__); printf(__VA_ARGS__); } while(0) #else -# define DPRINTF(...) do { if(loglevel) fprintf(logfile, __VA_ARGS__); } while(0) +# define DPRINTF(...) do { qemu_log(__VA_ARGS__); } while(0) #endif /******************************************************************** |