s3-rpcclient: correct some former unknonws in cmd_ntsvcs_hw_prof_flags command.
authorGünther Deschner <gd@samba.org>
Wed, 12 Nov 2008 08:28:05 +0000 (09:28 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 12 Nov 2008 09:19:17 +0000 (10:19 +0100)
Guenther

source3/rpcclient/cmd_ntsvcs.c

index 20d6928473917640e989689ee6bf3f5da2358437..7a253529439717197a48defbd82f4723a7a8e850 100644 (file)
@@ -83,8 +83,8 @@ static WERROR cmd_ntsvcs_hw_prof_flags(struct rpc_pipe_client *cli,
        NTSTATUS status;
        WERROR werr;
        const char *devicepath = NULL;
-       uint32_t unk3 = 0;
-       uint16_t unk4 = 0;
+       uint32_t profile_flags = 0;
+       uint16_t veto_type = 0;
        const char *unk5 = NULL;
        const char *unk5a = NULL;
 
@@ -99,8 +99,8 @@ static WERROR cmd_ntsvcs_hw_prof_flags(struct rpc_pipe_client *cli,
                                        0,
                                        devicepath,
                                        0,
-                                       &unk3,
-                                       &unk4,
+                                       &profile_flags,
+                                       &veto_type,
                                        unk5,
                                        &unk5a,
                                        0,