summaryrefslogtreecommitdiff
path: root/source4/param/share.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param/share.c')
-rw-r--r--source4/param/share.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/param/share.c b/source4/param/share.c
index 2727518c05..47aea55751 100644
--- a/source4/param/share.c
+++ b/source4/param/share.c
@@ -126,6 +126,7 @@ NTSTATUS share_register(const struct share_ops *ops)
}
NTSTATUS share_get_context_by_name(TALLOC_CTX *mem_ctx, const char *backend_name,
+ struct event_context *event_ctx,
struct loadparm_context *lp_ctx,
struct share_context **ctx)
{
@@ -137,7 +138,7 @@ NTSTATUS share_get_context_by_name(TALLOC_CTX *mem_ctx, const char *backend_name
return NT_STATUS_INTERNAL_ERROR;
}
- return ops->init(mem_ctx, ops, lp_ctx, ctx);
+ return ops->init(mem_ctx, ops, event_ctx, lp_ctx, ctx);
}
/*