aboutsummaryrefslogtreecommitdiff
path: root/hw/char/etraxfs_ser.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-11-13 13:24:26 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2015-12-17 17:33:47 +0100
commit79e8ed35977f9976b4df6f9b2550f46db77939ef (patch)
treeb0aaba11e6863a9e793b54cbe77156b545979b36 /hw/char/etraxfs_ser.c
parentc6ce9f176f5bc8d24ce0030198dffc8b80e77f80 (diff)
downloadqemu-79e8ed35977f9976b4df6f9b2550f46db77939ef.zip
qemu-79e8ed35977f9976b4df6f9b2550f46db77939ef.tar.gz
qemu-79e8ed35977f9976b4df6f9b2550f46db77939ef.tar.bz2
cris: avoid "naked" qemu_log
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/char/etraxfs_ser.c')
-rw-r--r--hw/char/etraxfs_ser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/etraxfs_ser.c b/hw/char/etraxfs_ser.c
index 562021e..d4d875e 100644
--- a/hw/char/etraxfs_ser.c
+++ b/hw/char/etraxfs_ser.c
@@ -165,7 +165,7 @@ static void serial_receive(void *opaque, const uint8_t *buf, int size)
/* Got a byte. */
if (s->rx_fifo_len >= 16) {
- qemu_log("WARNING: UART dropped char.\n");
+ D(qemu_log("WARNING: UART dropped char.\n"));
return;
}