From 5e1a9f18aadf4804323ad470e33ddcd17650bc38 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 15 May 2018 23:18:43 +0300 Subject: [PATCH] elflint: fix typo in error diagnostics Signed-off-by: Dmitry V. Levin --- src/ChangeLog | 4 ++++ src/elflint.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 419fa208c..8a664daeb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2018-05-15 Dmitry V. Levin + + * elflint.c (check_elf_header): Fix typo in error diagnostics. + 2018-05-15 Mark Wielaard * readelf.c (print_form_data): Cast comparisons against offset_len to diff --git a/src/elflint.c b/src/elflint.c index fb40fe7f1..0a26d97df 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) -- 2.47.2