summaryrefslogtreecommitdiffstats
path: root/source4/libnet/py_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet/py_net.c')
-rw-r--r--source4/libnet/py_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c
index 443da299c7c..3736454fa0a 100644
--- a/source4/libnet/py_net.c
+++ b/source4/libnet/py_net.c
@@ -47,7 +47,7 @@ static PyObject *py_net_join(PyObject *cls, PyObject *args, PyObject *kwargs)
/* FIXME: we really need to get a context from the caller or we may end
* up with 2 event contexts */
- ev = event_context_init(NULL);
+ ev = s4_event_context_init(NULL);
mem_ctx = talloc_new(ev);
libnet_ctx = py_net_ctx(cls, ev);