summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-11 11:16:12 +0200
committerJeremy Allison <jra@samba.org>2012-06-11 14:54:38 -0700
commit2e77833641934da8ca0f7c2ee172190ea43df903 (patch)
treef4cdce225eb8f2b2acc31dd7e415f6f0ea827051 /source3
parent386be83cbd9ea9814a1039199cb83897fece14ec (diff)
downloadsamba-2e77833641934da8ca0f7c2ee172190ea43df903.tar.gz
samba-2e77833641934da8ca0f7c2ee172190ea43df903.tar.bz2
samba-2e77833641934da8ca0f7c2ee172190ea43df903.zip
s3: Fix Coverity ID 703870 Uninitialized scalar variable
According to man 2 recvmsg this might be unnecessary, but it does not hurt either Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_aio_fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c
index cc13a9bd1c..4be21f7d97 100644
--- a/source3/modules/vfs_aio_fork.c
+++ b/source3/modules/vfs_aio_fork.c
@@ -145,6 +145,7 @@ static ssize_t read_fd(int fd, void *ptr, size_t nbytes, int *recvfd)
msg.msg_name = NULL;
msg.msg_namelen = 0;
+ msg.msg_flags = 0;
iov[0].iov_base = (void *)ptr;
iov[0].iov_len = nbytes;