From 1946beb679c7de75b142b30d84b5e4bf12c7e6bd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 18 Jul 2010 17:12:11 +0200 Subject: s3: Fix an uninitialized variable --- source3/modules/vfs_aio_fork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/modules/vfs_aio_fork.c') 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), -- cgit