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
committerCarlos O'Donell <carlos@redhat.com>2018-11-09 10:17:07 -0500
commit9071be6b3f78da905ab2b6403933fe14d4482e47 (patch)
tree29cd2c4f9af352adfe1ad14cdc2f42788674167d /nptl/pthread_cond_wait.c
parent7d174f53539bfbfa9cdfa41ead605573d3f219eb (diff)
downloadglibc-9071be6b3f78da905ab2b6403933fe14d4482e47.tar.gz
glibc-9071be6b3f78da905ab2b6403933fe14d4482e47.tar.xz
glibc-9071be6b3f78da905ab2b6403933fe14d4482e47.zip
[BZ #20271] Add newlines in __libc_fatal calls.
(cherry picked from commit a6e8926f8d49a213a9abb1a61f6af964f612ab7f)
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;