summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lsarpcd/srv_lsa.c2
-rw-r--r--source3/rpc_server/srv_lsa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lsarpcd/srv_lsa.c b/source3/lsarpcd/srv_lsa.c
index ff4b6bf4b6..e723b532b1 100644
--- a/source3/lsarpcd/srv_lsa.c
+++ b/source3/lsarpcd/srv_lsa.c
@@ -39,7 +39,7 @@ static void lsa_reply_open_policy(prs_struct *rdata)
LSA_R_OPEN_POL r_o;
/* set up the LSA QUERY INFO response */
- bzero(&(r_o.pol.data), POL_HND_SIZE);
+ bzero(r_o.pol.data, POL_HND_SIZE);
for (i = 4; i < POL_HND_SIZE; i++)
{
r_o.pol.data[i] = i;
diff --git a/source3/rpc_server/srv_lsa.c b/source3/rpc_server/srv_lsa.c
index ff4b6bf4b6..e723b532b1 100644
--- a/source3/rpc_server/srv_lsa.c
+++ b/source3/rpc_server/srv_lsa.c
@@ -39,7 +39,7 @@ static void lsa_reply_open_policy(prs_struct *rdata)
LSA_R_OPEN_POL r_o;
/* set up the LSA QUERY INFO response */
- bzero(&(r_o.pol.data), POL_HND_SIZE);
+ bzero(r_o.pol.data, POL_HND_SIZE);
for (i = 4; i < POL_HND_SIZE; i++)
{
r_o.pol.data[i] = i;