summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-20 16:33:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:00:51 -0500
commit970d33c65a2268d9f058ca8248717cb874f1734a (patch)
tree04e93213710fcaa26e518f8fe64db263584f094d
parent66c089acaab90569a0b9597fa320d1b8fc944155 (diff)
downloadsamba-970d33c65a2268d9f058ca8248717cb874f1734a.tar.gz
samba-970d33c65a2268d9f058ca8248717cb874f1734a.tar.bz2
samba-970d33c65a2268d9f058ca8248717cb874f1734a.zip
r18714: fix the build after replaceing rpccli_reg_abort_shutdown()
(This used to be commit 403b0cf1ecd682efc034053e4e2a40aeee08d5ba)
-rw-r--r--source3/utils/net_rpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 488cd1aff4..7b5c00ee3c 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -5109,8 +5109,9 @@ static NTSTATUS rpc_reg_shutdown_abort_internals(const DOM_SID *domain_sid,
const char **argv)
{
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
+ uint16_t server = 1;
- result = werror_to_ntstatus(rpccli_reg_abort_shutdown(pipe_hnd, mem_ctx));
+ result = rpccli_winreg_AbortSystemShutdown(pipe_hnd, mem_ctx, &server);
if (NT_STATUS_IS_OK(result)) {
d_printf("\nShutdown successfully aborted\n");