summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/malloctest/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-07 20:18:22 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-07 20:18:22 +0000
commit3b2edab9ab6c4db9a746d9dd16dde3aaeb576550 (patch)
treeb809cb6dcebe22d0b40ebf01676c9592a5f15ac0 /testsuites/libtests/malloctest/init.c
parent2009-05-07 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-3b2edab9ab6c4db9a746d9dd16dde3aaeb576550.tar.bz2
2009-05-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Fix typo.
Diffstat (limited to 'testsuites/libtests/malloctest/init.c')
-rw-r--r--testsuites/libtests/malloctest/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/libtests/malloctest/init.c b/testsuites/libtests/malloctest/init.c
index 2ca8197e5c..669090ece0 100644
--- a/testsuites/libtests/malloctest/init.c
+++ b/testsuites/libtests/malloctest/init.c
@@ -162,7 +162,7 @@ void test_heap_cases_1()
test_heap_init();
puts( "Heap Initialized" );
p1 = _Heap_Allocate( &TestHeap, 500 );
- rtems_test_assert( p2 != NULL );
+ rtems_test_assert( p1 != NULL );
p2 = _Heap_Allocate( &TestHeap, 500 );
rtems_test_assert( p2 != NULL );
rsc = _Heap_Resize_block( &TestHeap, p1, 256, &u1, &u2 );