diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-02 06:30:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-02 06:30:30 +0000 |
commit | 3132e9d830218b2aa3baa1b89fdb9cf9421fb866 (patch) | |
tree | e921aeea4d3c16f827310c36c9f438367037c7a9 /shell | |
parent | f0327f8e98a2437763cf0aa62b6a089739887548 (diff) | |
download | busybox-3132e9d830218b2aa3baa1b89fdb9cf9421fb866.tar.gz |
use xmalloc()
Diffstat (limited to 'shell')
-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 d8353e0a2..e47af795e 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) |