From 75e3e0ebc1b72b3170ddb878056b8b3895ac0d7f Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 23 May 2016 15:28:10 +1000 Subject: [PATCH] libcsupport: Fix printk warnings. --- cpukit/libcsupport/src/free.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/libcsupport/src/free.c b/cpukit/libcsupport/src/free.c index f3d4cb824b..90209580db 100644 --- a/cpukit/libcsupport/src/free.c +++ b/cpukit/libcsupport/src/free.c @@ -40,8 +40,8 @@ void free( if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) { printk( "Program heap: free of bad pointer %p -- range %p - %p \n", ptr, - RTEMS_Malloc_Heap->area_begin, - RTEMS_Malloc_Heap->area_end + (void*) RTEMS_Malloc_Heap->area_begin, + (void*) RTEMS_Malloc_Heap->area_end ); }