git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fea323b
)
s3-rpcclient: fill in unknowns in cmd_ntsvcs_get_hw_prof_info.
author
Günther Deschner
<gd@samba.org>
Thu, 13 Nov 2008 23:52:50 +0000
(
00:52
+0100)
committer
Günther Deschner
<gd@samba.org>
Mon, 17 Nov 2008 12:13:30 +0000
(13:13 +0100)
Guenther
source3/rpcclient/cmd_ntsvcs.c
patch
|
blob
|
history
diff --git
a/source3/rpcclient/cmd_ntsvcs.c
b/source3/rpcclient/cmd_ntsvcs.c
index 7a253529439717197a48defbd82f4723a7a8e850..11f16d34629575ccfa4dab60a4d5d62ff814ceaf 100644
(file)
--- 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);