summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/pvfs_wait.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ntvfs/posix/pvfs_wait.c')
-rw-r--r--source4/ntvfs/posix/pvfs_wait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_wait.c b/source4/ntvfs/posix/pvfs_wait.c
index 013de69889..89b0cee2f1 100644
--- a/source4/ntvfs/posix/pvfs_wait.c
+++ b/source4/ntvfs/posix/pvfs_wait.c
@@ -156,7 +156,7 @@ struct pvfs_wait *pvfs_wait_message(struct pvfs_state *pvfs,
if (!timeval_is_zero(&end_time)) {
/* setup a timer */
- event_add_timed(pwait->ev, pwait, end_time, pvfs_wait_timeout, pwait);
+ tevent_add_timer(pwait->ev, pwait, end_time, pvfs_wait_timeout, pwait);
}
/* register with the messaging subsystem for this message