mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
tests: don't print '\0' character
print "" (which results in no output) instead of printing '\0' (which is not visible, but is there) Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
This commit is contained in:
parent
cf11e9dfbe
commit
4d617b83a7
1 changed files with 2 additions and 2 deletions
|
|
@ -129,8 +129,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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue