[PATCH 3/4] cms-colord: Add missing '\n' in weston_log usage

Chris Michael cp.michael at samsung.com
Thu Oct 1 07:51:31 PDT 2015


Signed-off-by: Chris Michael <cp.michael at samsung.com>
---
 src/cms-colord.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cms-colord.c b/src/cms-colord.c
index 1e61feb..c88eb11 100644
--- a/src/cms-colord.c
+++ b/src/cms-colord.c
@@ -145,7 +145,7 @@ update_device_with_profile_in_idle(struct cms_output *ocms)
 		gchar tmp = '\0';
 		rc = write(cms->writefd, &tmp, 1);
 		if (rc == 0)
-			weston_log("colord: failed to write to pending fd");
+			weston_log("colord: failed to write to pending fd\n");
 	}
 }
 
@@ -375,7 +375,7 @@ colord_dispatch_all_pending(int fd, uint32_t mask, void *data)
 	/* done */
 	rc = read(cms->readfd, &tmp, 1);
 	if (rc == 0)
-		weston_log("colord: failed to read from pending fd");
+		weston_log("colord: failed to read from pending fd\n");
 	return 1;
 }
 
-- 
2.5.3



More information about the wayland-devel mailing list