summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libc/bionic/malloc_debug_common.cpp2
-rw-r--r--libc/bionic/malloc_debug_leak.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/bionic/malloc_debug_common.cpp b/libc/bionic/malloc_debug_common.cpp
index 3a12cd4..adcc238 100644
--- a/libc/bionic/malloc_debug_common.cpp
+++ b/libc/bionic/malloc_debug_common.cpp
@@ -376,7 +376,7 @@ static void malloc_init_impl() {
}
}
- // Lets see which .so must be loaded for the requested debug level
+ // Choose the appropriate .so for the requested debug level.
switch (debug_level) {
case 1:
case 5:
diff --git a/libc/bionic/malloc_debug_leak.cpp b/libc/bionic/malloc_debug_leak.cpp
index c13b520..ca00d4d 100644
--- a/libc/bionic/malloc_debug_leak.cpp
+++ b/libc/bionic/malloc_debug_leak.cpp
@@ -366,7 +366,7 @@ extern "C" void* leak_memalign(size_t alignment, size_t bytes) {
alignment = 1L << (31 - __builtin_clz(alignment));
}
- // here, aligment is at least MALLOC_ALIGNMENT<<1 bytes
+ // here, alignment is at least MALLOC_ALIGNMENT<<1 bytes
// we will align by at least MALLOC_ALIGNMENT bytes
// and at most alignment-MALLOC_ALIGNMENT bytes
size_t size = (alignment-MALLOC_ALIGNMENT) + bytes;