aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-01-24 11:55:12 +0000
committerNick Clifton <nickc@redhat.com>2020-01-24 11:55:12 +0000
commit2f796de6da8329a9071d29b03278601e8d45152c (patch)
tree51efc10951c727d705a542e9cd4111140d9be9ad /binutils
parent89203d40625ea3c835a19c8a4aff8bdeff479748 (diff)
downloadbinutils-2f796de6da8329a9071d29b03278601e8d45152c.zip
binutils-2f796de6da8329a9071d29b03278601e8d45152c.tar.gz
binutils-2f796de6da8329a9071d29b03278601e8d45152c.tar.bz2
Fix issue with warning messages about corrupt debuginfod notes.
* readelf.c (get_build_id): Fix warning messages about corrupt notes.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 81888e8..2e31085 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 4dcac96..eabb70f 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -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);