summaryrefslogtreecommitdiff
path: root/source4/utils/net
diff options
context:
space:
mode:
Diffstat (limited to 'source4/utils/net')
-rw-r--r--source4/utils/net/net.c2
-rw-r--r--source4/utils/net/net.h2
-rw-r--r--source4/utils/net/net_machinepw.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c
index 4d1b202ccb..ba5296fd97 100644
--- a/source4/utils/net/net.c
+++ b/source4/utils/net/net.c
@@ -144,7 +144,7 @@ static int binary_net(int argc, const char **argv)
int rc;
int argc_new;
const char **argv_new;
- struct event_context *ev;
+ struct tevent_context *ev;
struct net_context *ctx = NULL;
poptContext pc;
struct poptOption long_options[] = {
diff --git a/source4/utils/net/net.h b/source4/utils/net/net.h
index 309bee277c..16223a15bb 100644
--- a/source4/utils/net/net.h
+++ b/source4/utils/net/net.h
@@ -24,7 +24,7 @@
struct net_context {
struct cli_credentials *credentials;
struct loadparm_context *lp_ctx;
- struct event_context *event_ctx;
+ struct tevent_context *event_ctx;
};
struct net_functable {
diff --git a/source4/utils/net/net_machinepw.c b/source4/utils/net/net_machinepw.c
index 710d889c19..4e3165dbfd 100644
--- a/source4/utils/net/net_machinepw.c
+++ b/source4/utils/net/net_machinepw.c
@@ -37,7 +37,7 @@ int net_machinepw(struct net_context *ctx, int argc, const char **argv)
{
struct ldb_context *secrets;
TALLOC_CTX *mem_ctx;
- struct event_context *ev;
+ struct tevent_context *ev;
struct ldb_message **msgs;
int num_records;
const char *attrs[] = { "secret", NULL };