summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2016-01-14 09:21:51 -0800
committerNikolaus Rath <Nikolaus@rath.org>2016-01-14 09:21:51 -0800
commitd09dbea729199b1f702e55dd9ddbe85158fca192 (patch)
tree89fbab68a1fb8fe306db8338d7d528dcb386437d
parent547dc9e49fd0a7f10c05dd024f61dcd75d3f8ec6 (diff)
downloadfuse-d09dbea729199b1f702e55dd9ddbe85158fca192.tar.gz
Initialize padding to zero.
This should prevent some valgrind warnings.
-rw-r--r--lib/fuse_lowlevel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index 5de0ab8..ff03c63 100644
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -2087,6 +2087,7 @@ int fuse_lowlevel_notify_store(struct fuse_chan *ch, fuse_ino_t ino,
outarg.nodeid = ino;
outarg.offset = offset;
outarg.size = size;
+ outarg.padding = 0;
iov[0].iov_base = &out;
iov[0].iov_len = sizeof(out);