about summary refs log tree commit diff
path: root/malloc/malloc.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-02-24 19:47:09 -0800
committerUlrich Drepper <drepper@redhat.com>2010-02-24 19:47:09 -0800
commit9d2569846c520933546353856aafea86a80d9638 (patch)
tree20d218ad5ff9e81813848c8f086c8bb1ade1db1a /malloc/malloc.c
parent844c394a0501e4f46cb0496ddeaf9643ae2c1ebb (diff)
downloadglibc-9d2569846c520933546353856aafea86a80d9638.tar.gz
glibc-9d2569846c520933546353856aafea86a80d9638.tar.xz
glibc-9d2569846c520933546353856aafea86a80d9638.zip
Fix typos I added in malloc.c
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r--malloc/malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 9d60b7d173..763852ea3b 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -3935,7 +3935,7 @@ public_vALLOc(size_t bytes)
     if(ar_ptr != &main_arena) {
       ar_ptr = &main_arena;
       (void)mutex_lock(&ar_ptr->mutex);
-      p = _int_memalign(&ar_ptr-> pagesz, bytes);
+      p = _int_memalign(ar_ptr, pagesz, bytes);
       (void)mutex_unlock(&ar_ptr->mutex);
     } else {
 #if USE_ARENAS
@@ -3981,7 +3981,7 @@ public_pVALLOc(size_t bytes)
     if(ar_ptr != &main_arena) {
       ar_ptr = &main_arena;
       (void)mutex_lock(&ar_ptr->mutex);
-      p = _int_memalign(&ar_ptr-> pagesz, rounded_bytes);
+      p = _int_memalign(ar_ptr, pagesz, rounded_bytes);
       (void)mutex_unlock(&ar_ptr->mutex);
     } else {
 #if USE_ARENAS