projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
579c3b0
)
Initialize padding to zero.
author
Nikolaus Rath
<Nikolaus@rath.org>
Thu, 14 Jan 2016 17:21:51 +0000
(09:21 -0800)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Thu, 14 Jan 2016 17:38:31 +0000
(09:38 -0800)
This should prevent some valgrind warnings.
lib/fuse_lowlevel.c
patch
|
blob
|
history
diff --git
a/lib/fuse_lowlevel.c
b/lib/fuse_lowlevel.c
index c5108f73858bbb7b626ca4584940c9ef7e43645f..542d7ae35406018e462af4d85865bfeb765ffdca 100755
(executable)
--- 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);