summaryrefslogtreecommitdiff
path: root/umalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'umalloc.c')
-rw-r--r--umalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/umalloc.c b/umalloc.c
index afc86a5..4984591 100644
--- a/umalloc.c
+++ b/umalloc.c
@@ -49,8 +49,8 @@ morecore(uint nu)
char *p;
Header *hp;
- if(nu < PAGE)
- nu = PAGE;
+ if(nu < 4096)
+ nu = 4096;
p = sbrk(nu * sizeof(Header));
if(p == (char*) -1)
return 0;