[PATCH] compositor-wayland: Terminate weston_log error message

Chris Michael cpmichael at comcast.net
Mon Sep 28 12:29:09 PDT 2015


Please find attached patch to fix issue with weston_log message not 
ending with a return



 From 8de51c0e54d6a60a5c326ec3af1c0134044be5ce Mon Sep 17 00:00:00 2001
From: Chris Michael <cp.michael at samsung.com>
Date: Mon, 28 Sep 2015 15:24:18 -0400
Subject: [PATCH] compositor-wayland: Terminate weston_log error message

Signed-off-by: Chris Michael <cp.michael at samsung.com>
---
  src/compositor-wayland.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
index 900c331..7b11ae4 100644
--- a/src/compositor-wayland.c
+++ b/src/compositor-wayland.c
@@ -1158,7 +1158,7 @@ wayland_output_create_for_parent_output(struct 
wayland_backend *b,
  		mode = container_of(poutput->mode_list.next,
  				    struct weston_mode, link);
  	} else {
-		weston_log("No valid modes found.  Skipping output");
+		weston_log("No valid modes found.  Skipping output\n");
  		return NULL;
  	}

-- 
2.5.3



More information about the wayland-devel mailing list