summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/eventlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/rpc/eventlog.c')
-rw-r--r--source4/torture/rpc/eventlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/eventlog.c b/source4/torture/rpc/eventlog.c
index d5665ad07d..31d91c056b 100644
--- a/source4/torture/rpc/eventlog.c
+++ b/source4/torture/rpc/eventlog.c
@@ -46,8 +46,8 @@ static bool get_policy_handle(struct torture_context *tctx,
unknown0.unknown1 = 0x0001;
r.in.unknown0 = &unknown0;
- init_lsa_String(r.in.logname, "dns server");
- init_lsa_String(r.in.servername, NULL);
+ init_lsa_String(&logname, "dns server");
+ init_lsa_String(&servername, NULL);
r.in.logname = &logname;
r.in.servername = &servername;
r.in.unknown2 = 0x00000001;