diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-15 16:25:06 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-15 16:25:06 +0200 |
commit | 5d408ccf83e0b95459fe5e8a9e31f685b0859973 (patch) | |
tree | 4ab5629c8e9df79c2415895bb6717e431f9377fc /source4/torture/rpc | |
parent | 310dc3e42d4bc1e2cf30e28b506a37de277799ab (diff) | |
download | samba-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')
-rw-r--r-- | source4/torture/rpc/initshutdown.c | 4 | ||||
-rw-r--r-- | source4/torture/rpc/winreg.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/initshutdown.c b/source4/torture/rpc/initshutdown.c index 92fec5be0c..149fae6c26 100644 --- a/source4/torture/rpc/initshutdown.c +++ b/source4/torture/rpc/initshutdown.c @@ -61,7 +61,7 @@ static bool test_Init(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; status = dcerpc_initshutdown_Init(p, tctx, &r); @@ -83,7 +83,7 @@ static bool test_InitEx(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; status = dcerpc_initshutdown_InitEx(p, tctx, &r); 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, |