summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/malloc-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/malloc-test.c b/tests/lib/malloc-test.c
index fefacbb92b..b70de06ae1 100644
--- a/tests/lib/malloc-test.c
+++ b/tests/lib/malloc-test.c
@@ -50,7 +50,7 @@ static int setup_test(void **state)
static int setup_calloc_test(void **state)
{
- memset(&_heap, 0xFF, TEST_HEAP_SZ);
+ memset(_test_heap, 0xFF, TEST_HEAP_SZ);
return setup_test(state);
}