summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_notify_fam.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules/vfs_notify_fam.c')
-rw-r--r--source3/modules/vfs_notify_fam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_notify_fam.c b/source3/modules/vfs_notify_fam.c
index f10a4c9c94..54df0e4f24 100644
--- a/source3/modules/vfs_notify_fam.c
+++ b/source3/modules/vfs_notify_fam.c
@@ -113,9 +113,9 @@ static NTSTATUS fam_open_connection(FAMConnection *fam_conn,
return NT_STATUS_UNEXPECTED_IO_ERROR;
}
- if (event_add_fd(event_ctx, event_ctx,
+ if (tevent_add_fd(event_ctx, event_ctx,
FAMCONNECTION_GETFD(fam_conn),
- EVENT_FD_READ, fam_handler,
+ TEVENT_FD_READ, fam_handler,
(void *)fam_conn) == NULL) {
DEBUG(0, ("event_add_fd failed\n"));
FAMClose(fam_conn);