summaryrefslogtreecommitdiff
path: root/source4/lib/registry
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-21 08:31:41 +0100
committerMichael Adam <obnox@samba.org>2013-02-28 12:07:31 +0100
commit8ec4d9cb00b818045f040b0a3f60946543d35f75 (patch)
tree81b6abaab216afe80a093868ed477ad9742a1026 /source4/lib/registry
parent5aee3a45e4c398473ba6e8e61ed34df839674a40 (diff)
downloadsamba-8ec4d9cb00b818045f040b0a3f60946543d35f75.tar.gz
samba-8ec4d9cb00b818045f040b0a3f60946543d35f75.tar.bz2
samba-8ec4d9cb00b818045f040b0a3f60946543d35f75.zip
s4:pyregistry: make use of samba_tevent_context_init()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source4/lib/registry')
-rw-r--r--source4/lib/registry/pyregistry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/pyregistry.c b/source4/lib/registry/pyregistry.c
index ad411e846d..8f967109cc 100644
--- a/source4/lib/registry/pyregistry.c
+++ b/source4/lib/registry/pyregistry.c
@@ -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);