[PATCH libinput 1/4] test: align litest output messages

Peter Hutterer peter.hutterer at who-t.net
Tue Mar 28 10:07:49 UTC 2017


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 test/litest.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/litest.c b/test/litest.c
index 5086bd9..f9797b7 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -788,14 +788,14 @@ litest_log_handler(struct libinput *libinput,
 	const char *priority = NULL;
 
 	switch(pri) {
-	case LIBINPUT_LOG_PRIORITY_INFO: priority = "info"; break;
+	case LIBINPUT_LOG_PRIORITY_INFO: priority =  "info "; break;
 	case LIBINPUT_LOG_PRIORITY_ERROR: priority = "error"; break;
 	case LIBINPUT_LOG_PRIORITY_DEBUG: priority = "debug"; break;
 	default:
 		  abort();
 	}
 
-	fprintf(stderr, "litest %s: ", priority);
+	fprintf(stderr, "litest %s ", priority);
 	vfprintf(stderr, format, args);
 
 	if (strstr(format, "client bug: ") ||
-- 
2.9.3



More information about the wayland-devel mailing list