From 970d33c65a2268d9f058ca8248717cb874f1734a Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 20 Sep 2006 16:33:21 +0000 Subject: r18714: fix the build after replaceing rpccli_reg_abort_shutdown() (This used to be commit 403b0cf1ecd682efc034053e4e2a40aeee08d5ba) --- source3/utils/net_rpc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/utils') 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"); -- cgit