summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/winreg.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-15 16:25:06 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-15 16:25:06 +0200
commit5d408ccf83e0b95459fe5e8a9e31f685b0859973 (patch)
tree4ab5629c8e9df79c2415895bb6717e431f9377fc /source4/torture/rpc/winreg.c
parent310dc3e42d4bc1e2cf30e28b506a37de277799ab (diff)
downloadsamba-5d408ccf83e0b95459fe5e8a9e31f685b0859973.tar.gz
samba-5d408ccf83e0b95459fe5e8a9e31f685b0859973.tar.bz2
samba-5d408ccf83e0b95459fe5e8a9e31f685b0859973.zip
Rename reboot -> do_reboot since the first is a reserved name on FreeBSD.
Diffstat (limited to 'source4/torture/rpc/winreg.c')
-rw-r--r--source4/torture/rpc/winreg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index 898813f807..aa81aa011b 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -1630,7 +1630,7 @@ static bool test_InitiateSystemShutdown(struct torture_context *tctx,
init_lsa_StringLarge(r.in.message, "spottyfood");
r.in.force_apps = 1;
r.in.timeout = 30;
- r.in.reboot = 1;
+ r.in.do_reboot = 1;
torture_assert_ntstatus_ok(tctx,
dcerpc_winreg_InitiateSystemShutdown(p, tctx, &r),
@@ -1655,7 +1655,7 @@ static bool test_InitiateSystemShutdownEx(struct torture_context *tctx,
init_lsa_StringLarge(r.in.message, "spottyfood");
r.in.force_apps = 1;
r.in.timeout = 30;
- r.in.reboot = 1;
+ r.in.do_reboot = 1;
r.in.reason = 0;
torture_assert_ntstatus_ok(tctx,