aboutsummaryrefslogtreecommitdiff
path: root/malloc/malloc-check.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/malloc-check.c')
-rw-r--r--malloc/malloc-check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/malloc-check.c b/malloc/malloc-check.c
index fbb0301..f5ca5fb 100644
--- a/malloc/malloc-check.c
+++ b/malloc/malloc-check.c
@@ -111,7 +111,7 @@ mem2chunk_check (void *mem, unsigned char **magic_p)
INTERNAL_SIZE_T sz, c;
unsigned char magic;
- if (!aligned_OK (mem))
+ if (misaligned_mem (mem))
return NULL;
p = mem2chunk (mem);