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 | |
parent | f0327f8e98a2437763cf0aa62b6a089739887548 (diff) | |
download | busybox-w32-3132e9d830218b2aa3baa1b89fdb9cf9421fb866.tar.gz busybox-w32-3132e9d830218b2aa3baa1b89fdb9cf9421fb866.tar.bz2 busybox-w32-3132e9d830218b2aa3baa1b89fdb9cf9421fb866.zip |
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 d8353e0a2..e47af795e 100644 --- a/shell/msh.c +++ b/shell/msh.c | |||
@@ -1621,7 +1621,7 @@ REGISTER int sub; | |||
1621 | 1621 | ||
1622 | static void initarea() | 1622 | static void initarea() |
1623 | { | 1623 | { |
1624 | brkaddr = malloc(AREASIZE); | 1624 | brkaddr = xmalloc(AREASIZE); |
1625 | brktop = brkaddr + AREASIZE; | 1625 | brktop = brkaddr + AREASIZE; |
1626 | 1626 | ||
1627 | while ((long) sbrk(0) & ALIGN) | 1627 | while ((long) sbrk(0) & ALIGN) |