From: Dhruv Chawla <[email protected]>
Signed-off-by: Dhruv Chawla <[email protected]>
libbacktrace/ChangeLog:
* allocfail.sh: Fix typos.
* elf.c (elf_fetch_bits): Likewise.
---
libbacktrace/allocfail.sh | 2 +-
libbacktrace/elf.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libbacktrace/allocfail.sh b/libbacktrace/allocfail.sh
index 662792757da..f591c43557a 100755
--- a/libbacktrace/allocfail.sh
+++ b/libbacktrace/allocfail.sh
@@ -77,7 +77,7 @@ while [ $i -le $allocs ]; do
exit 1
fi
- # The test-case would run too long if we would excercise all allocs.
+ # The test-case would run too long if we would exercise all allocs.
# So, run with step 1 initially, and increase the step once we have 10
# subsequent passes, and drop back to step 1 once we encounter another
# failure. This takes ~2.6 seconds on an i7-6600U CPU @ 2.60GHz.
diff --git a/libbacktrace/elf.c b/libbacktrace/elf.c
index 46607f6fb8d..5aee4afd0d1 100644
--- a/libbacktrace/elf.c
+++ b/libbacktrace/elf.c
@@ -1166,7 +1166,7 @@ elf_fetch_bits (const unsigned char **ppin, const
unsigned char *pinend,
return 1;
}
-/* This is like elf_fetch_bits, but it fetchs the bits backward, and ensures at
+/* This is like elf_fetch_bits, but it fetches the bits backward, and ensures
at
least 16 bits. This is for zstd. */
static int
--
2.43.0