summaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index f6baefc..84b58de 100644
--- a/commands.c
+++ b/commands.c
@@ -149,7 +149,7 @@ set_file_variables (file)
cp = plus_value = (char *) alloca (plus_len);
- qmark_len = plus_len; /* Will be this or less. */
+ qmark_len = plus_len + 1; /* Will be this or less. */
for (d = file->deps; d != 0; d = d->next)
if (! d->ignore_mtime)
{