summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'daemon')
-rw-r--r--daemon/augeas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/augeas.c b/daemon/augeas.c
index 04c4a7a6..76b85d93 100644
--- a/daemon/augeas.c
+++ b/daemon/augeas.c
@@ -57,7 +57,7 @@ do_aug_init (const char *root, int flags)
aug = NULL;
}
- len = strlen (root) + 8;
+ len = strlen (root) + 9;
buf = malloc (len);
if (!buf) {
reply_with_perror ("malloc");