about summary refs log tree commit diff
path: root/nptl/pthread_cond_wait.c
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2018-08-31 18:04:32 -0700
committerPaul Pluzhnikov <ppluzhnikov@google.com>2018-08-31 18:04:32 -0700
commita6e8926f8d49a213a9abb1a61f6af964f612ab7f (patch)
tree5714fe2b1c0b909df877d875a60e2e46bcb565ec /nptl/pthread_cond_wait.c
parent2bbd06bcee5fe62896d71f78c6c2b6d0f3a23467 (diff)
downloadglibc-a6e8926f8d49a213a9abb1a61f6af964f612ab7f.tar.gz
glibc-a6e8926f8d49a213a9abb1a61f6af964f612ab7f.tar.xz
glibc-a6e8926f8d49a213a9abb1a61f6af964f612ab7f.zip
[BZ #20271] Add newlines in __libc_fatal calls.
Diffstat (limited to 'nptl/pthread_cond_wait.c')
-rw-r--r--nptl/pthread_cond_wait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_cond_wait.c b/nptl/pthread_cond_wait.c
index 3e11054182..ebf07ca82d 100644
--- a/nptl/pthread_cond_wait.c
+++ b/nptl/pthread_cond_wait.c
@@ -516,7 +516,7 @@ __pthread_cond_wait_common (pthread_cond_t *cond, pthread_mutex_t *mutex,
 		  struct timespec rt;
 		  if (__clock_gettime (CLOCK_MONOTONIC, &rt) != 0)
 		    __libc_fatal ("clock_gettime does not support "
-				  "CLOCK_MONOTONIC");
+				  "CLOCK_MONOTONIC\n");
 		  /* Convert the absolute timeout value to a relative
 		     timeout.  */
 		  rt.tv_sec = abstime->tv_sec - rt.tv_sec;