Revision 93fcfe39 darwin-user/machload.c

b/darwin-user/machload.c
39 39
//#define DEBUG_MACHLOAD
40 40

  
41 41
#ifdef DEBUG_MACHLOAD
42
# define DPRINTF(...) do { if(loglevel) fprintf(logfile, __VA_ARGS__); printf(__VA_ARGS__); } while(0)
42
# define DPRINTF(...) do { qemu_log(__VA_ARGS__); printf(__VA_ARGS__); } while(0)
43 43
#else
44
# define DPRINTF(...) do { if(loglevel) fprintf(logfile, __VA_ARGS__); } while(0)
44
# define DPRINTF(...) do { qemu_log(__VA_ARGS__); } while(0)
45 45
#endif
46 46

  
47 47
# define check_mach_header(x) (x.magic == MH_CIGAM)

Also available in: Unified diff