Fix warnings on FreeBSD-based platforms
[ira/wip.git] / source3 / librpc / gen_ndr / cli_winreg.c
index fe8c4f7726048fe25351d87c4df51c4b397845b8..29f7e50c45f0223404fdff6d3747a31656b032c0 100644 (file)
@@ -1212,7 +1212,7 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdown(struct rpc_pipe_client *cli,
                                              struct initshutdown_String *message /* [in] [unique] */,
                                              uint32_t timeout /* [in]  */,
                                              uint8_t force_apps /* [in]  */,
-                                             uint8_t reboot /* [in]  */,
+                                             uint8_t do_reboot /* [in]  */,
                                              WERROR *werror)
 {
        struct winreg_InitiateSystemShutdown r;
@@ -1223,7 +1223,7 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdown(struct rpc_pipe_client *cli,
        r.in.message = message;
        r.in.timeout = timeout;
        r.in.force_apps = force_apps;
-       r.in.reboot = reboot;
+       r.in.do_reboot = do_reboot;
 
        if (DEBUGLEVEL >= 10) {
                NDR_PRINT_IN_DEBUG(winreg_InitiateSystemShutdown, &r);
@@ -1501,7 +1501,7 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdownEx(struct rpc_pipe_client *cli,
                                                struct initshutdown_String *message /* [in] [unique] */,
                                                uint32_t timeout /* [in]  */,
                                                uint8_t force_apps /* [in]  */,
-                                               uint8_t reboot /* [in]  */,
+                                               uint8_t do_reboot /* [in]  */,
                                                uint32_t reason /* [in]  */,
                                                WERROR *werror)
 {
@@ -1513,7 +1513,7 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdownEx(struct rpc_pipe_client *cli,
        r.in.message = message;
        r.in.timeout = timeout;
        r.in.force_apps = force_apps;
-       r.in.reboot = reboot;
+       r.in.do_reboot = do_reboot;
        r.in.reason = reason;
 
        if (DEBUGLEVEL >= 10) {