about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-02-24 19:47:09 -0800
committerPetr Baudis <pasky@ucw.cz>2010-05-12 04:01:28 +0200
commit6d270188ef3fe10125b8723ed69ebdc9e90e914e (patch)
treeea06df453c1e69064004be5c5a90239cc8222539
parent32901cc363778c71ed4ddf896c054e7450f654c1 (diff)
downloadglibc-6d270188ef3fe10125b8723ed69ebdc9e90e914e.tar.gz
glibc-6d270188ef3fe10125b8723ed69ebdc9e90e914e.tar.xz
glibc-6d270188ef3fe10125b8723ed69ebdc9e90e914e.zip
Fix typos I added in malloc.c
(cherry picked from commit 9d2569846c520933546353856aafea86a80d9638)
-rw-r--r--malloc/malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index cdd24a02a0..b1d43c6447 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -3936,7 +3936,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
@@ -3982,7 +3982,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