diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-01-14 09:21:51 -0800 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-01-14 09:38:31 -0800 |
commit | df0d539d04247dbbfcb10c364638df7edaef697e (patch) | |
tree | 5f10c637db68a8b82501e4d144af28265f91a2b2 /lib | |
parent | 579c3b03f57856e369fd6db2226b77aba63b59ff (diff) | |
download | libfuse-df0d539d04247dbbfcb10c364638df7edaef697e.tar.gz |
Initialize padding to zero.
This should prevent some valgrind warnings.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/fuse_lowlevel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index c5108f7..542d7ae 100755 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -2263,6 +2263,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); |