public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] elflint: fix typo in error diagnostics
@ 2018-05-15 15:35 Dmitry V. Levin
  2018-05-15 19:02 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry V. Levin @ 2018-05-15 15:35 UTC (permalink / raw)
  To: elfutils-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] elflint: fix typo in error diagnostics
  2018-05-15 15:35 [PATCH] elflint: fix typo in error diagnostics Dmitry V. Levin
@ 2018-05-15 19:02 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2018-05-15 19:02 UTC (permalink / raw)
  To: elfutils-devel

Hi Dmitry,

On Tue, May 15, 2018 at 06:34:57PM +0300, Dmitry V. Levin wrote:
> +2018-05-15  Dmitry V. Levin  <ldv@altlinux.org>
> +
> +	* elflint.c (check_elf_header): Fix typo in error diagnostics.

Thanks for spotting this. Looks good. But all contributions
need an explicit Signed-off-by line. Could you take a look
at the CONTRIBUTING file and add one if you agree with the
Developer's Certificate of Origin:
https://sourceware.org/git/?p=elfutils.git;a=blob;f=CONTRIBUTING;hb=HEAD

Thanks,

Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-15 19:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-15 15:35 [PATCH] elflint: fix typo in error diagnostics Dmitry V. Levin
2018-05-15 19:02 ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).