Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index e1d93da73..771fc8bf9 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -14484,7 +14484,7 @@ static NOINLINE void
init(void)
{
/* we will never free this */
- basepf.next_to_pgetc = basepf.buf = ckmalloc(IBUFSIZ);
+ basepf.next_to_pgetc = basepf.buf = ckzalloc(IBUFSIZ);
basepf.linno = 1;
sigmode[SIGCHLD - 1] = S_DFL; /* ensure we install handler even if it is SIG_IGNed */