summaryrefslogtreecommitdiff
path: root/source4/torture/unix/whoami.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/unix/whoami.c')
-rw-r--r--source4/torture/unix/whoami.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/unix/whoami.c b/source4/torture/unix/whoami.c
index a1333ac5bd..d4f19bb57a 100644
--- a/source4/torture/unix/whoami.c
+++ b/source4/torture/unix/whoami.c
@@ -84,7 +84,7 @@ static struct smbcli_state *connect_to_server(struct torture_context *tctx,
lp_smb_ports(tctx->lp_ctx),
share, NULL,
creds, lp_resolve_context(tctx->lp_ctx),
- NULL, &options);
+ tctx->ev, &options);
if (!NT_STATUS_IS_OK(status)) {
printf("failed to connect to //%s/%s: %s\n",