binutils: readelf: add missing newline to warning message
authorMike Frysinger <vapier@gentoo.org>
Sat, 21 Feb 2015 21:10:04 +0000 (16:10 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 21 Feb 2015 21:10:04 +0000 (16:10 -0500)
binutils/ChangeLog
binutils/readelf.c

index 21e1f84..20abfe6 100644 (file)
@@ -1,3 +1,8 @@
+2015-02-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * readelf.c (process_program_headers): Add newline to warning
+       message.
+
 2015-02-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
 
        * readelf.c (get_note_type): Add NT_S390_VXRS_LOW and
index bfea37a..66b8f98 100644 (file)
@@ -4490,7 +4490,7 @@ process_program_headers (FILE * file)
       /* PR binutils/12467.  */
       if (elf_header.e_phoff != 0)
        warn (_("possibly corrupt ELF header - it has a non-zero program"
-               " header offset, but no program headers"));
+               " header offset, but no program headers\n"));
       else if (do_segments)
        printf (_("\nThere are no program headers in this file.\n"));
       return 0;