summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 0810a92..132421b 100644
--- a/main.c
+++ b/main.c
@@ -2403,6 +2403,7 @@ define_makeflags (all, makefile)
/* Construct the value in FLAGSTRING.
We allocate enough space for a preceding dash and trailing null. */
flagstring = (char *) alloca (1 + flagslen + 1);
+ bzero (flagstring, 1 + flagslen + 1);
p = flagstring;
words = 1;
*p++ = '-';