about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--elf/rtld.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 910bf679d3..4e4ab69f10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-12-10  Aurelien Jarno <aurelien@aurel32.net>
+
+	[BZ #22577]
+	* elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
+	call.
+
 2017-12-07  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
diff --git a/elf/rtld.c b/elf/rtld.c
index 90505aee7d..cfd3729b8e 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -730,7 +730,7 @@ init_tls (void)
   void *tcbp = _dl_allocate_tls_storage ();
   if (tcbp == NULL)
     _dl_fatal_printf ("\
-cannot allocate TLS data structures for initial thread");
+cannot allocate TLS data structures for initial thread\n");
 
   /* Store for detection of the special case by __tls_get_addr
      so it knows not to pass this dtv to the normal realloc.  */