aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
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/readelf.c
parent89203d40625ea3c835a19c8a4aff8bdeff479748 (diff)
downloadgdb-2f796de6da8329a9071d29b03278601e8d45152c.zip
gdb-2f796de6da8329a9071d29b03278601e8d45152c.tar.gz
gdb-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/readelf.c')
-rw-r--r--binutils/readelf.c4
1 files changed, 2 insertions, 2 deletions
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);