s4:pyregistry: make use of samba_tevent_context_init()
[bbaumbach/samba-autobuild/.git] / source4 / lib / registry / pyregistry.c
index ad411e846de933555c4433c8645f5c682b5fe102..8f967109cc4b4bfb862ccfd2353015d066929d41 100644 (file)
@@ -288,7 +288,7 @@ static PyObject *py_open_hive(PyTypeObject *type, PyObject *args, PyObject *kwar
        session_info = NULL;
 
        result = reg_open_hive(NULL, location, session_info, credentials,
-                              tevent_context_init(NULL),
+                              samba_tevent_context_init(NULL),
                               lp_ctx, &hive_key);
        talloc_free(mem_ctx);
        PyErr_WERROR_NOT_OK_RAISE(result);