summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemon/glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/glob.c b/daemon/glob.c
index ad8aa544..45fb30f1 100644
--- a/daemon/glob.c
+++ b/daemon/glob.c
@@ -29,7 +29,7 @@ char **
do_glob_expand (const char *pattern)
{
int r;
- glob_t buf;
+ glob_t buf = { .gl_pathc = 0, .gl_pathv = NULL, .gl_offs = 0 };
/* glob(3) in glibc never calls chdir, so this seems to be safe: */
CHROOT_IN;