[PATCH v2] elflint: fix typo in error diagnostics

Dmitry V. Levin ldv@altlinux.org
Tue May 15 20:18:00 GMT 2018


Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
---
 src/ChangeLog | 4 ++++
 src/elflint.c | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/ChangeLog b/src/ChangeLog
index 419fa20..8a664da 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2018-05-15  Dmitry V. Levin  <ldv@altlinux.org>
+
+	* elflint.c (check_elf_header): Fix typo in error diagnostics.
+
 2018-05-15  Mark Wielaard  <mark@klomp.org>
 
 	* readelf.c (print_form_data): Cast comparisons against offset_len to
diff --git a/src/elflint.c b/src/elflint.c
index fb40fe7..0a26d97 100644
--- a/src/elflint.c
+++ b/src/elflint.c
@@ -376,9 +376,9 @@ check_elf_header (Ebl *ebl, GElf_Ehdr *ehdr, size_t size)
 	   EI_OSABI,
 	   ebl_osabi_name (ebl, ehdr->e_ident[EI_OSABI], buf, sizeof (buf)));
 
-  /* No ABI versions other than zero supported either.  */
+  /* No ABI versions other than zero are supported either.  */
   if (ehdr->e_ident[EI_ABIVERSION] != 0)
-    ERROR (gettext ("unsupport ABI version e_ident[%d] == %d\n"),
+    ERROR (gettext ("unsupported ABI version e_ident[%d] == %d\n"),
 	   EI_ABIVERSION, ehdr->e_ident[EI_ABIVERSION]);
 
   for (cnt = EI_PAD; cnt < EI_NIDENT; ++cnt)
-- 
ldv



More information about the Elfutils-devel mailing list