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:
Marek Chalupa 2014-11-19 11:58:26 +01:00 committed by Pekka Paalanen
parent cf11e9dfbe
commit 4d617b83a7

View file

@ -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");
}