Fix issue with warning messages about corrupt debuginfod notes.
authorNick Clifton <nickc@redhat.com>
Fri, 24 Jan 2020 11:55:12 +0000 (11:55 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 24 Jan 2020 11:55:12 +0000 (11:55 +0000)
* readelf.c (get_build_id): Fix warning messages about corrupt
notes.

binutils/ChangeLog
binutils/readelf.c

index 81888e846e8f8e5526ad3f07bec70fe0c03c1fc9..2e310851fae6c60d11565bce9ad353d6026ea53e 100644 (file)
@@ -1,3 +1,8 @@
+2020-01-24  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_build_id): Fix warning messages about corrupt
+       notes.
+
 2020-01-23  Nick Clifton  <nickc@redhat.com>
 
        * po/fr.po: Updated French translation.
index 4dcac968ddf02dece5685ff69fefe94e90f30ee0..eabb70fac9bfec138a73b2edf3fce0203b99c215 100644 (file)
@@ -14242,7 +14242,7 @@ get_build_id (void * data)
             {
               warn (ngettext ("debuginfod: Corrupt note: only %ld byte remains, "
                               "not enough for a full note\n",
-                              "Corrupt note: only %ld bytes remain, "
+                              "debuginfod: Corrupt note: only %ld bytes remain, "
                               "not enough for a full note\n",
                               data_remaining),
                     (long) data_remaining);
@@ -14271,7 +14271,7 @@ get_build_id (void * data)
             {
               warn (ngettext ("debuginfod: Corrupt note: only %ld byte remains, "
                               "not enough for a full note\n",
-                              "Corrupt note: only %ld bytes remain, "
+                              "debuginfod: Corrupt note: only %ld bytes remain, "
                               "not enough for a full note\n",
                               data_remaining),
                     (long) data_remaining);