summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/com/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/com/main.c b/source4/lib/com/main.c
index 1f657cef87..e67051bb81 100644
--- a/source4/lib/com/main.c
+++ b/source4/lib/com/main.c
@@ -28,7 +28,7 @@ WERROR com_init_ctx(struct com_context **ctx, struct tevent_context *event_ctx)
{
*ctx = talloc(NULL, struct com_context);
if (event_ctx == NULL) {
- event_ctx = tevent_context_init(*ctx);
+ event_ctx = samba_tevent_context_init(*ctx);
}
(*ctx)->event_ctx = event_ctx;
return WERR_OK;