diff options
author | Mike Crowe <mac@mcrowe.com> | 2019-05-20 14:56:48 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-05-20 15:06:17 -0300 |
commit | b62bb3bc683ab1ca5f69631f0b588a406370d5dc (patch) | |
tree | e822d80765899e495a21e6bbbaeb73353c6efa89 /support | |
parent | ff6bec7d47b228f4ab2115676a6b7cde5542fa9d (diff) | |
download | glibc-b62bb3bc683ab1ca5f69631f0b588a406370d5dc.zip glibc-b62bb3bc683ab1ca5f69631f0b588a406370d5dc.tar.gz glibc-b62bb3bc683ab1ca5f69631f0b588a406370d5dc.tar.bz2 |
support: Add missing EOL terminators on timespec
The original implementations of test_timespec_before_impl and
test_timespec_equal_or_after in 519839965197291924895a3988804e325035beee
were missing the backslash required for a newline.
Checked on x86_64-linux-gnu.
* support/timespec.c: Add backslash to correct newline in failure
message.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'support')
-rw-r--r-- | support/timespec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/timespec.c b/support/timespec.c index 6532939..7c1a4e5 100644 --- a/support/timespec.c +++ b/support/timespec.c @@ -31,7 +31,7 @@ test_timespec_before_impl (const char *file, int line, support_record_failure (); const struct timespec diff = timespec_sub (left, right); printf ("%s:%d: %jd.%09jds not before %jd.%09jds " - "(difference %jd.%09jds)n", + "(difference %jd.%09jds)\n", file, line, (intmax_t) left.tv_sec, (intmax_t) left.tv_nsec, (intmax_t) right.tv_sec, (intmax_t) right.tv_nsec, @@ -50,7 +50,7 @@ test_timespec_equal_or_after_impl (const char *file, int line, support_record_failure (); const struct timespec diff = timespec_sub (right, left); printf ("%s:%d: %jd.%09jds not after %jd.%09jds " - "(difference %jd.%09jds)n", + "(difference %jd.%09jds)\n", file, line, (intmax_t) left.tv_sec, (intmax_t) left.tv_nsec, (intmax_t) right.tv_sec, (intmax_t) right.tv_nsec, |