print "" (which results in no output) instead of
printing '\0' (which is not visible, but is there)

Signed-off-by: Marek Chalupa <[email protected]>
---
 tests/test-runner.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test-runner.c b/tests/test-runner.c
index a6c75a9..1373225 100644
--- a/tests/test-runner.c
+++ b/tests/test-runner.c
@@ -132,8 +132,8 @@ test_set_timeout(unsigned int to)
        fprintf(stderr, "Timeout was %sset", re ? "re-" : "");
 
        if (to != 0)
-               fprintf(stderr, " to %d second%c from now.\n",
-                       to, to > 1 ? 's' : 0);
+               fprintf(stderr, " to %d second%s from now.\n",
+                       to, to > 1 ? "s" : "");
        else
                fprintf(stderr, " off.\n");
 }
-- 
2.1.0

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to