summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/core/umalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386/core/umalloc.c')
-rw-r--r--src/arch/i386/core/umalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/i386/core/umalloc.c b/src/arch/i386/core/umalloc.c
index bfd62ef1..3990488c 100644
--- a/src/arch/i386/core/umalloc.c
+++ b/src/arch/i386/core/umalloc.c
@@ -194,8 +194,8 @@ userptr_t urealloc ( userptr_t ptr, size_t new_size ) {
/* Collect any free blocks and update hidden memory region */
ecollect_free();
- hide_region ( EXTMEM, user_to_phys ( bottom, -sizeof ( extmem ) ),
- user_to_phys ( top, 0 ) );
+ hide_umalloc ( user_to_phys ( bottom, -sizeof ( extmem ) ),
+ user_to_phys ( top, 0 ) );
return ( new_size ? new : UNOWHERE );
}