Tracked down with scripts/coccinelle/err-bad-newline.cocci.
Signed-off-by: Markus Armbruster <[email protected]>
---
hw/audio/es1370.c | 2 +-
ui/gtk.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/audio/es1370.c b/hw/audio/es1370.c
index 9873ffadab..566f93f1ea 100644
--- a/hw/audio/es1370.c
+++ b/hw/audio/es1370.c
@@ -228,7 +228,7 @@ static void print_sctl(uint32_t val)
#undef a
error_report("es1370: "
"%s p2_end_inc %d, p2_st_inc %d,"
- " r1_fmt %s, p2_fmt %s, p1_fmt %s\n",
+ " r1_fmt %s, p2_fmt %s, p1_fmt %s",
buf,
(val & SCTRL_P2ENDINC) >> SCTRL_SH_P2ENDINC,
(val & SCTRL_P2STINC) >> SCTRL_SH_P2STINC,
diff --git a/ui/gtk.c b/ui/gtk.c
index 48571bedbf..e83a366625 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -1197,7 +1197,7 @@ static gboolean gd_touch_event(GtkWidget *widget,
GdkEventTouch *touch,
type = INPUT_MULTI_TOUCH_TYPE_END;
break;
default:
- warn_report("gtk: unexpected touch event type\n");
+ warn_report("gtk: unexpected touch event type");
return FALSE;
}
--
2.49.0