public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: COCOCO X <xunyanglins@gmail.com>
To: elfutils-devel@sourceware.org
Subject: [PATCH] libelf: fix typos in comment
Date: Sun, 10 Sep 2023 00:07:15 +0800	[thread overview]
Message-ID: <CANfTh+=5QVw6TExZm8o4-fWLQ+nmyy37DnHgYGTUAcPehQinPw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]

bug -> but

Signed-off-by: Yanglin Xun <xunyanglins@gmail.com>
---
 libelf/ChangeLog | 4 ++++
 libelf/libelf.h  | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/libelf/ChangeLog b/libelf/ChangeLog
index 1d5178c..4636156 100644
--- a/libelf/ChangeLog
+++ b/libelf/ChangeLog
@@ -1,3 +1,7 @@
+2023-09-09  Yanglin Xun  <xunyanglins@gmail.com>
+
+ * libelf.h: Fix typo in comment
+
 2023-04-01  Youling Tang  <tangyouling@loongson.cn>

  * elf.h: Update from glibc.
diff --git a/libelf/libelf.h b/libelf/libelf.h
index 458a1fa..d3f057b 100644
--- a/libelf/libelf.h
+++ b/libelf/libelf.h
@@ -302,7 +302,7 @@ extern Elf_Scn *elf_getscn (Elf *__elf, size_t __index);

 /* Get section at OFFSET.  */
 extern Elf_Scn *elf32_offscn (Elf *__elf, Elf32_Off __offset);
-/* Similar bug this time the binary calls is ELFCLASS64.  */
+/* Similar but this time the binary calls is ELFCLASS64.  */
 extern Elf_Scn *elf64_offscn (Elf *__elf, Elf64_Off __offset);

 /* Get index of section.  */
-- 
2.42.0

             reply	other threads:[~2023-09-09 16:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-09 16:07 COCOCO X [this message]
2023-09-10 19:54 ` Mark Wielaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANfTh+=5QVw6TExZm8o4-fWLQ+nmyy37DnHgYGTUAcPehQinPw@mail.gmail.com' \
    --to=xunyanglins@gmail.com \
    --cc=elfutils-devel@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).