summaryrefslogtreecommitdiff
path: root/source3/smbd/notify_inotify.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 10:53:02 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:48:01 +0100
commite5f6250ae26ba103b1682ae933b61732247795e8 (patch)
tree7edb702cd2490142e527316c95ff2eee1c8979dd /source3/smbd/notify_inotify.c
parent64145e7958204f2b2c444e8e904b533dd2108290 (diff)
downloadsamba-e5f6250ae26ba103b1682ae933b61732247795e8.tar.gz
samba-e5f6250ae26ba103b1682ae933b61732247795e8.tar.bz2
samba-e5f6250ae26ba103b1682ae933b61732247795e8.zip
s3:smbd: s/event_add_fd/tevent_add_fd and s/EVENT_FD_/TEVENT_FD_
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/notify_inotify.c')
-rw-r--r--source3/smbd/notify_inotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/notify_inotify.c b/source3/smbd/notify_inotify.c
index c1543965a7..4e9a87e6f9 100644
--- a/source3/smbd/notify_inotify.c
+++ b/source3/smbd/notify_inotify.c
@@ -269,7 +269,7 @@ static NTSTATUS inotify_setup(struct sys_notify_context *ctx)
talloc_set_destructor(in, inotify_destructor);
/* add a event waiting for the inotify fd to be readable */
- event_add_fd(ctx->ev, in, in->fd, EVENT_FD_READ, inotify_handler, in);
+ tevent_add_fd(ctx->ev, in, in->fd, TEVENT_FD_READ, inotify_handler, in);
return NT_STATUS_OK;
}