summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-18 17:12:11 +0200
committerVolker Lendecke <vl@samba.org>2010-07-18 21:22:41 +0200
commit1946beb679c7de75b142b30d84b5e4bf12c7e6bd (patch)
tree69b61ccdc24c4890546a2afbae32032944fcf400 /source3/modules
parent55512f479172047ae7f69604c23fffecf66de8c4 (diff)
downloadsamba-1946beb679c7de75b142b30d84b5e4bf12c7e6bd.tar.gz
samba-1946beb679c7de75b142b30d84b5e4bf12c7e6bd.tar.bz2
samba-1946beb679c7de75b142b30d84b5e4bf12c7e6bd.zip
s3: Fix an uninitialized variable
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_aio_fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c
index b43aad2df4..ff2b6ad9ff 100644
--- a/source3/modules/vfs_aio_fork.c
+++ b/source3/modules/vfs_aio_fork.c
@@ -765,7 +765,7 @@ static int aio_fork_suspend(struct vfs_handle_struct *handle,
}
if (timeout) {
- struct timeval tv;
+ struct timeval tv = convert_timespec_to_timeval(*timeout);
struct tevent_timer *te = tevent_add_timer(ev,
frame,
timeval_current_ofs(tv.tv_sec,0),