From e5d5f7f0d8262178f9f69e78e3a4fbd71a34853c Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 9 Oct 2012 17:23:09 -0700 Subject: [PATCH] Fix two comment typos. Change-Id: Icb2d6f7fa97ef5a4409a7606875e416cfab0a4b3 --- libc/bionic/malloc_debug_common.cpp | 2 +- libc/bionic/malloc_debug_leak.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/bionic/malloc_debug_common.cpp b/libc/bionic/malloc_debug_common.cpp index 3a12cd493..adcc238c8 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 c13b520ae..ca00d4d9b 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;