about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2017-12-10 19:09:04 +0100
committerAurelien Jarno <aurelien@aurel32.net>2017-12-10 19:10:28 +0100
commitf648728cb17bcf043b6f750f360b6c8960c491fd (patch)
tree27e327c9ac0dea674f2d7a86dd85717ab32aa9ee
parent9d0ffa60ad88799b33ab6437ba0f29b39c019462 (diff)
downloadglibc-f648728cb17bcf043b6f750f360b6c8960c491fd.tar.gz
glibc-f648728cb17bcf043b6f750f360b6c8960c491fd.tar.xz
glibc-f648728cb17bcf043b6f750f360b6c8960c491fd.zip
elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf call [BZ #22577]
Changelog:
	* elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
	call.
-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.  */