summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMike Frysinger2006-06-02 06:30:30 +0000
committerMike Frysinger2006-06-02 06:30:30 +0000
commit3132e9d830218b2aa3baa1b89fdb9cf9421fb866 (patch)
treee921aeea4d3c16f827310c36c9f438367037c7a9 /shell
parentf0327f8e98a2437763cf0aa62b6a089739887548 (diff)
downloadbusybox-3132e9d830218b2aa3baa1b89fdb9cf9421fb866.zip
busybox-3132e9d830218b2aa3baa1b89fdb9cf9421fb866.tar.gz
use xmalloc()
Diffstat (limited to 'shell')
-rw-r--r--shell/msh.c2
1 files changed, 1 insertions, 1 deletions
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 @@ REGISTER int sub;
static void initarea()
{
- brkaddr = malloc(AREASIZE);
+ brkaddr = xmalloc(AREASIZE);
brktop = brkaddr + AREASIZE;
while ((long) sbrk(0) & ALIGN)