From 2f796de6da8329a9071d29b03278601e8d45152c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 24 Jan 2020 11:55:12 +0000 Subject: [PATCH] Fix issue with warning messages about corrupt debuginfod notes. * readelf.c (get_build_id): Fix warning messages about corrupt notes. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 81888e846e8..2e310851fae 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2020-01-24 Nick Clifton + + * readelf.c (get_build_id): Fix warning messages about corrupt + notes. + 2020-01-23 Nick Clifton * po/fr.po: Updated French translation. diff --git a/binutils/readelf.c b/binutils/readelf.c index 4dcac968ddf..eabb70fac9b 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); -- 2.30.2