commit | 3132e9d830218b2aa3baa1b89fdb9cf9421fb866 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Fri Jun 02 06:30:30 2006 +0000 |
committer | Mike Frysinger <vapier@gentoo.org> | Fri Jun 02 06:30:30 2006 +0000 |
tree | e921aeea4d3c16f827310c36c9f438367037c7a9 | |
parent | f0327f8e98a2437763cf0aa62b6a089739887548 [diff] [blame] |
use xmalloc()
diff --git a/shell/msh.c b/shell/msh.c index d8353e0..e47af79 100644 --- a/shell/msh.c +++ b/shell/msh.c
@@ -1621,7 +1621,7 @@ static void initarea() { - brkaddr = malloc(AREASIZE); + brkaddr = xmalloc(AREASIZE); brktop = brkaddr + AREASIZE; while ((long) sbrk(0) & ALIGN)