[PATCH weston] gl-renderer: Fix some missing newlines in log messages

Derek Foreman derekf at osg.samsung.com
Mon Jun 26 19:42:44 UTC 2017


Some log messages weren't terminated with a newline.

Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
---
 libweston/gl-renderer.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libweston/gl-renderer.c b/libweston/gl-renderer.c
index a1301ffb..da29b072 100644
--- a/libweston/gl-renderer.c
+++ b/libweston/gl-renderer.c
@@ -1802,13 +1802,13 @@ import_yuv_dmabuf(struct gl_renderer *gr,
 
 	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 @@ gl_renderer_create_pbuffer_surface(struct gl_renderer *gr) {
 	};
 
 	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;
 	}
 
-- 
2.13.1



More information about the wayland-devel mailing list