aboutsummaryrefslogtreecommitdiff
path: root/darwin-user/commpage.c
diff options
context:
space:
mode:
Diffstat (limited to 'darwin-user/commpage.c')
-rw-r--r--darwin-user/commpage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/darwin-user/commpage.c b/darwin-user/commpage.c
index 58f429c194..8961bef443 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
/********************************************************************