r18714: fix the build after replaceing rpccli_reg_abort_shutdown()
authorGerald Carter <jerry@samba.org>
Wed, 20 Sep 2006 16:33:21 +0000 (16:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:00:51 +0000 (12:00 -0500)
source/utils/net_rpc.c

index 488cd1aff48a6dcbcf5296871bddb9489bd9be83..7b5c00ee3cc1042abf3a55bd73695c5a47770d23 100644 (file)
@@ -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");