From e2544b7ddfb31ef97c80a5e50fd88ab066e1fc0a Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sat, 26 Jan 2019 07:29:23 -0600 Subject: [PATCH] mm/umm_heap/umm_sbrk.c: Pass ARCH_HEAP_VEND as maxbreak argument --- mm/umm_heap/umm_sbrk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/umm_heap/umm_sbrk.c b/mm/umm_heap/umm_sbrk.c index d633af3d97..3bee8db034 100644 --- a/mm/umm_heap/umm_sbrk.c +++ b/mm/umm_heap/umm_sbrk.c @@ -85,5 +85,5 @@ FAR void *sbrk(intptr_t incr) { - return mm_sbrk(USR_HEAP, incr, CONFIG_ARCH_HEAP_NPAGES << MM_PGSHIFT); + return mm_sbrk(USR_HEAP, incr, ARCH_HEAP_VEND); }