use xmalloc()
authorMike Frysinger <vapier@gentoo.org>
Fri, 2 Jun 2006 06:30:30 +0000 (06:30 -0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 2 Jun 2006 06:30:30 +0000 (06:30 -0000)
shell/msh.c

index d8353e0a225fd82feb84b6c1bc22e72015a3efb2..e47af795ee3f498ed9f5f3e1bef8bdd1deb086d9 100644 (file)
@@ -1621,7 +1621,7 @@ REGISTER int sub;
 
 static void initarea()
 {
-       brkaddr = malloc(AREASIZE);
+       brkaddr = xmalloc(AREASIZE);
        brktop = brkaddr + AREASIZE;
 
        while ((long) sbrk(0) & ALIGN)