elflint: fix typo in error diagnostics
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 15 May 2018 20:18:43 +0000 (23:18 +0300)
committerMark Wielaard <mark@klomp.org>
Tue, 15 May 2018 20:22:17 +0000 (22:22 +0200)
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
src/ChangeLog
src/elflint.c

index 419fa20..8a664da 100644 (file)
@@ -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
index fb40fe7..0a26d97 100644 (file)
@@ -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)