summaryrefslogtreecommitdiff
path: root/source4/utils/net/net_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/utils/net/net_time.c')
-rw-r--r--source4/utils/net/net_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/net/net_time.c b/source4/utils/net/net_time.c
index 12a8132cea..92e6e77481 100644
--- a/source4/utils/net/net_time.c
+++ b/source4/utils/net/net_time.c
@@ -43,7 +43,7 @@ int net_time(struct net_context *ctx, int argc, const char **argv)
return net_time_usage(ctx, argc, argv);
}
- libnetctx = libnet_context_init(event_context_find(ctx), ctx->lp_ctx);
+ libnetctx = libnet_context_init(ctx->event_ctx, ctx->lp_ctx);
if (!libnetctx) {
return -1;
}