summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/print_cups.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index 396f81802b..6c1e9ce23c 100644
--- a/source3/printing/print_cups.c
+++ b/source3/printing/print_cups.c
@@ -586,9 +586,9 @@ bool cups_cache_reload(struct tevent_context *ev,
*p_pipe_fd ));
/* Trigger an event when the pipe can be read. */
- cache_fd_event = event_add_fd(ev,
+ cache_fd_event = tevent_add_fd(ev,
NULL, *p_pipe_fd,
- EVENT_FD_READ,
+ TEVENT_FD_READ,
cups_async_callback,
(void *)cb_args);
if (!cache_fd_event) {