[COMMITTED] elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf call [BZ #22577]

Message ID 20171210181144.14843-1-aurelien@aurel32.net
State Committed
Headers

Commit Message

Aurelien Jarno Dec. 10, 2017, 6:11 p.m. UTC
  Changelog:
	* elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
	call.
---
 ChangeLog  | 6 ++++++
 elf/rtld.c | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)
  

Patch

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.  */