summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-14 00:52:50 +0100
committerGünther Deschner <gd@samba.org>2008-11-17 13:13:30 +0100
commit2fbdf22541497b56143083863bf1ffe5af7487fd (patch)
treec33effb7e9ff9b73fe6fc1bcc7b8a71f4acf4cc7
parentfea323bdf3e4b87af87a8b69e9e528e04e34fe07 (diff)
downloadsamba-2fbdf22541497b56143083863bf1ffe5af7487fd.tar.gz
samba-2fbdf22541497b56143083863bf1ffe5af7487fd.tar.bz2
samba-2fbdf22541497b56143083863bf1ffe5af7487fd.zip
s3-rpcclient: fill in unknowns in cmd_ntsvcs_get_hw_prof_info.
Guenther
-rw-r--r--source3/rpcclient/cmd_ntsvcs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_ntsvcs.c b/source3/rpcclient/cmd_ntsvcs.c
index 7a25352943..11f16d3462 100644
--- a/source3/rpcclient/cmd_ntsvcs.c
+++ b/source3/rpcclient/cmd_ntsvcs.c
@@ -122,15 +122,15 @@ static WERROR cmd_ntsvcs_get_hw_prof_info(struct rpc_pipe_client *cli,
WERROR werr;
uint32_t idx = 0;
struct PNP_HwProfInfo info;
- uint32_t unknown1 = 0, unknown2 = 0;
+ uint32_t size = 0, flags = 0;
ZERO_STRUCT(info);
status = rpccli_PNP_GetHwProfInfo(cli, mem_ctx,
idx,
&info,
- unknown1,
- unknown2,
+ size,
+ flags,
&werr);
if (!NT_STATUS_IS_OK(status)) {
return ntstatus_to_werror(status);