From: Mike Frysinger Date: Fri, 2 Jun 2006 06:30:30 +0000 (-0000) Subject: use xmalloc() X-Git-Tag: 1_2_0~235 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3132e9d830218b2aa3baa1b89fdb9cf9421fb866;p=oweals%2Fbusybox.git use xmalloc() --- 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)