hw/digic: Add trailing '\n' to qemu_log() calls
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180606152128.449-3-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
diff --git a/hw/char/digic-uart.c b/hw/char/digic-uart.c
index 6ebcb87..ccc75ea 100644
--- a/hw/char/digic-uart.c
+++ b/hw/char/digic-uart.c
@@ -60,7 +60,7 @@
default:
qemu_log_mask(LOG_UNIMP,
"digic-uart: read access to unknown register 0x"
- TARGET_FMT_plx, addr << 2);
+ TARGET_FMT_plx "\n", addr << 2);
}
return ret;
@@ -98,7 +98,7 @@
default:
qemu_log_mask(LOG_UNIMP,
"digic-uart: write access to unknown register 0x"
- TARGET_FMT_plx, addr << 2);
+ TARGET_FMT_plx "\n", addr << 2);
}
}
diff --git a/hw/timer/digic-timer.c b/hw/timer/digic-timer.c
index e1fcf73..4d73077 100644
--- a/hw/timer/digic-timer.c
+++ b/hw/timer/digic-timer.c
@@ -73,7 +73,7 @@
default:
qemu_log_mask(LOG_UNIMP,
"digic-timer: read access to unknown register 0x"
- TARGET_FMT_plx, offset);
+ TARGET_FMT_plx "\n", offset);
}
return ret;
@@ -109,7 +109,7 @@
default:
qemu_log_mask(LOG_UNIMP,
"digic-timer: read access to unknown register 0x"
- TARGET_FMT_plx, offset);
+ TARGET_FMT_plx "\n", offset);
}
}