summaryrefslogtreecommitdiff
path: root/source3/lib/g_lock.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 09:10:34 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:47:47 +0100
commitf3915cf0ec9ac51f541cafcb367221a3dac3aec8 (patch)
tree3ca027c697d25ed38d54d68a91b878184dbf5d18 /source3/lib/g_lock.c
parent3cad605ee9454ae6000349340073124a8df80896 (diff)
downloadsamba-f3915cf0ec9ac51f541cafcb367221a3dac3aec8.tar.gz
samba-f3915cf0ec9ac51f541cafcb367221a3dac3aec8.tar.bz2
samba-f3915cf0ec9ac51f541cafcb367221a3dac3aec8.zip
s3:lib: 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 'source3/lib/g_lock.c')
-rw-r--r--source3/lib/g_lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/g_lock.c b/source3/lib/g_lock.c
index fbd90225f0..8c7a6c203b 100644
--- a/source3/lib/g_lock.c
+++ b/source3/lib/g_lock.c
@@ -315,7 +315,7 @@ NTSTATUS g_lock_lock(struct g_lock_ctx *ctx, const char *name,
struct timeval end;
NTSTATUS status = NT_STATUS_NO_MEMORY;
- ev = tevent_context_init(frame);
+ ev = samba_tevent_context_init(frame);
if (ev == NULL) {
goto fail;
}
@@ -513,7 +513,7 @@ static bool g_lock_init_all(TALLOC_CTX *mem_ctx,
struct messaging_context *msg = NULL;
struct g_lock_ctx *g_ctx = NULL;
- ev = tevent_context_init(mem_ctx);
+ ev = samba_tevent_context_init(mem_ctx);
if (ev == NULL) {
d_fprintf(stderr, "ERROR: could not init event context\n");
goto fail;