svn commit: samba r18714 - in branches/SAMBA_3_0/source/utils: .

jerry at samba.org jerry at samba.org
Wed Sep 20 16:33:21 GMT 2006


Author: jerry
Date: 2006-09-20 16:33:21 +0000 (Wed, 20 Sep 2006)
New Revision: 18714

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18714

Log:
fix the build after replaceing rpccli_reg_abort_shutdown()
Modified:
   branches/SAMBA_3_0/source/utils/net_rpc.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_rpc.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_rpc.c	2006-09-20 16:32:29 UTC (rev 18713)
+++ branches/SAMBA_3_0/source/utils/net_rpc.c	2006-09-20 16:33:21 UTC (rev 18714)
@@ -5109,8 +5109,9 @@
 						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");



More information about the samba-cvs mailing list