diff options
author | Mike Frysinger | 2006-06-02 06:30:30 +0000 |
---|---|---|
committer | Mike Frysinger | 2006-06-02 06:30:30 +0000 |
commit | 3132e9d830218b2aa3baa1b89fdb9cf9421fb866 (patch) | |
tree | e921aeea4d3c16f827310c36c9f438367037c7a9 | |
parent | f0327f8e98a2437763cf0aa62b6a089739887548 (diff) | |
download | busybox-3132e9d830218b2aa3baa1b89fdb9cf9421fb866.zip busybox-3132e9d830218b2aa3baa1b89fdb9cf9421fb866.tar.gz |
use xmalloc()
-rw-r--r-- | shell/msh.c | 2 |
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) |