gl-renderer: Fix some missing newlines in log messages
Some log messages weren't terminated with a newline.
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
diff --git a/libweston/gl-renderer.c b/libweston/gl-renderer.c
index a1301ff..da29b07 100644
--- a/libweston/gl-renderer.c
+++ b/libweston/gl-renderer.c
@@ -1802,13 +1802,13 @@
if (!format) {
weston_log("Error during import, and no known conversion for format "
- "%.4s in the renderer",
+ "%.4s in the renderer\n",
dump_format(attributes->format, fmt));
return false;
}
if (attributes->n_planes != format->input_planes) {
- weston_log("%.4s dmabuf must contain %d plane%s (%d provided)",
+ weston_log("%.4s dmabuf must contain %d plane%s (%d provided)\n",
dump_format(format->format, fmt),
format->input_planes,
(format->input_planes > 1) ? "s" : "",
@@ -3165,7 +3165,7 @@
};
if (egl_choose_config(gr, pbuffer_config_attribs, NULL, 0, &pbuffer_config) < 0) {
- weston_log("failed to choose EGL config for PbufferSurface");
+ weston_log("failed to choose EGL config for PbufferSurface\n");
return -1;
}