diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-15 22:36:53 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-15 22:36:53 +0000 |
commit | 8fec2b8c454f00d9200e6eb75c6cda73f8425c00 (patch) | |
tree | de4093e5d448a6c15560ab338ded7deb3a098eaf /hw/ppc_prep.c | |
parent | 31b1a7b4f5f87a239ee62feb8ba5bd00d6e26744 (diff) | |
download | qemu-8fec2b8c454f00d9200e6eb75c6cda73f8425c00.zip qemu-8fec2b8c454f00d9200e6eb75c6cda73f8425c00.tar.gz qemu-8fec2b8c454f00d9200e6eb75c6cda73f8425c00.tar.bz2 |
global s/loglevel & X/qemu_loglevel_mask(X)/ (Eduardo Habkost)
These are references to 'loglevel' that aren't on a simple 'if (loglevel &
X) qemu_log()' statement.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6340 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc_prep.c')
-rw-r--r-- | hw/ppc_prep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c index 506391c..1d61cc9 100644 --- a/hw/ppc_prep.c +++ b/hw/ppc_prep.c @@ -52,7 +52,7 @@ #if defined (HARD_DEBUG_PPC_IO) #define PPC_IO_DPRINTF(fmt, args...) \ do { \ - if (loglevel & CPU_LOG_IOPORT) { \ + if (qemu_loglevel_mask(CPU_LOG_IOPORT)) { \ qemu_log("%s: " fmt, __func__ , ##args); \ } else { \ printf("%s : " fmt, __func__ , ##args); \ |