summaryrefslogtreecommitdiffstats
path: root/libelf
diff options
context:
space:
mode:
authorCOCOCO X <[email protected]>2023-09-10 00:07:15 +0800
committerMark Wielaard <[email protected]>2023-09-10 21:51:58 +0200
commit549c1d4ba0046f77fecca7891da82a3c6718c102 (patch)
tree8015479640db0c499922573b9f443209a112e091 /libelf
parent276c367be0807301652817c0df071c90ae3c276b (diff)
libelf: fix typos in comment
bug -> but Signed-off-by: Yanglin Xun <[email protected]>
Diffstat (limited to 'libelf')
-rw-r--r--libelf/ChangeLog4
-rw-r--r--libelf/libelf.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/libelf/ChangeLog b/libelf/ChangeLog
index 1d5178ca..0e314ab6 100644
--- a/libelf/ChangeLog
+++ b/libelf/ChangeLog
@@ -1,3 +1,7 @@
+2023-09-09 Yanglin Xun <[email protected]>
+
+ * libelf.h: Fix typo in comment
+
2023-04-01 Youling Tang <[email protected]>
* elf.h: Update from glibc.
diff --git a/libelf/libelf.h b/libelf/libelf.h
index 458a1fad..d3f057b4 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. */