libelf: fix typos in comment

Message ID CANfTh+=5QVw6TExZm8o4-fWLQ+nmyy37DnHgYGTUAcPehQinPw@mail.gmail.com
State Committed
Headers
Series libelf: fix typos in comment |

Commit Message

COCOCO X Sept. 9, 2023, 4:07 p.m. UTC
  bug -> but

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

Comments

Mark Wielaard Sept. 10, 2023, 7:54 p.m. UTC | #1
Hi,

On Sun, Sep 10, 2023 at 12:07:15AM +0800, COCOCO X via Elfutils-devel wrote:
> bug -> but

Thanks, pushed.

Mark
  

Patch

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.  */