Fix warnings on FreeBSD-based platforms
[ira/wip.git] / source3 / librpc / gen_ndr / cli_initshutdown.c
index d5e5ab63bc08113ca9c2889166c86554a14e3d0f..ab48623ee1bcd1282a9d647ae28e9eab2557d7f5 100644 (file)
@@ -12,7 +12,7 @@ NTSTATUS rpccli_initshutdown_Init(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 initshutdown_Init r;
@@ -23,7 +23,7 @@ NTSTATUS rpccli_initshutdown_Init(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(initshutdown_Init, &r);
@@ -106,7 +106,7 @@ NTSTATUS rpccli_initshutdown_InitEx(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)
 {
@@ -118,7 +118,7 @@ NTSTATUS rpccli_initshutdown_InitEx(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) {