From 3132e9d830218b2aa3baa1b89fdb9cf9421fb866 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 2 Jun 2006 06:30:30 +0000 Subject: [PATCH] use xmalloc() --- shell/msh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.25.1