diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_rpc.c | 3 |
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"); |