diff options
author | Rob Landley <rob@landley.net> | 2008-10-28 06:48:06 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2008-10-28 06:48:06 +0000 |
commit | 7d602faf7652cbd8358ff90a9eaa53ac5230dabe (patch) | |
tree | 6739a0f15b6a24fc94fdf2b6a16a2807a405a976 /libc/stdlib/malloc/memalign.c | |
parent | 346792d2a1494d3451837c205343c2ecbf5ee810 (diff) |
Finally fix the MALLOC=y and MALLOC_SIMPLE=y breakage from svn 23660. (I found it, this is Bernhard's patch to fix it. Tested and it Works For Me (tm)).
Diffstat (limited to 'libc/stdlib/malloc/memalign.c')
-rw-r--r-- | libc/stdlib/malloc/memalign.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc/memalign.c b/libc/stdlib/malloc/memalign.c index 114299b43..6826d623a 100644 --- a/libc/stdlib/malloc/memalign.c +++ b/libc/stdlib/malloc/memalign.c @@ -36,7 +36,7 @@ memalign (size_t alignment, size_t size) { void *mem, *base; unsigned long tot_addr, tot_end_addr, addr, end_addr; - struct heap_free_area *heap = __malloc_heap; + struct heap_free_area **heap = &__malloc_heap; /* Make SIZE something we like. */ size = HEAP_ADJUST_SIZE (size); |