diff options
Diffstat (limited to 'darwin-user/machload.c')
-rw-r--r-- | darwin-user/machload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/darwin-user/machload.c b/darwin-user/machload.c index 9d7aaf5..794aefa 100644 --- a/darwin-user/machload.c +++ b/darwin-user/machload.c @@ -39,9 +39,9 @@ //#define DEBUG_MACHLOAD #ifdef DEBUG_MACHLOAD -# 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 # define check_mach_header(x) (x.magic == MH_CIGAM) |