aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-02 06:30:30 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-02 06:30:30 +0000
commit887454d05df01a089604a9ac2e716eab950377c3 (patch)
treee921aeea4d3c16f827310c36c9f438367037c7a9 /shell
parent8097097193cb68c902e3e10b48733118284b0f92 (diff)
downloadbusybox-w32-887454d05df01a089604a9ac2e716eab950377c3.tar.gz
busybox-w32-887454d05df01a089604a9ac2e716eab950377c3.tar.bz2
busybox-w32-887454d05df01a089604a9ac2e716eab950377c3.zip
use xmalloc()
git-svn-id: svn://busybox.net/trunk/busybox@15263 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 d8353e0a2..e47af795e 100644
--- a/shell/msh.c
+++ b/shell/msh.c
@@ -1621,7 +1621,7 @@ REGISTER int sub;
1621 1621
1622static void initarea() 1622static 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)