summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-08-30 12:59:38 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-11 18:46:09 +1000
commitb057867de3fbb423ef6afb9b7038ab99c83124d8 (patch)
tree313ac5da30310a23fab1f0da6a63981a68336b71 /source3/utils
parent0e2142a9275b567a3c6a8f90e95240d9e686ec27 (diff)
downloadsamba-b057867de3fbb423ef6afb9b7038ab99c83124d8.tar.gz
samba-b057867de3fbb423ef6afb9b7038ab99c83124d8.tar.bz2
samba-b057867de3fbb423ef6afb9b7038ab99c83124d8.zip
s3-privs Remove a pointer from grant_privilege()
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_sam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_sam.c b/source3/utils/net_sam.c
index 113818200e..4da712d8cc 100644
--- a/source3/utils/net_sam.c
+++ b/source3/utils/net_sam.c
@@ -712,7 +712,7 @@ static int net_sam_rights_grant(struct net_context *c, int argc,
return -1;
}
- if (!grant_privilege(&sid, &mask)) {
+ if (!grant_privilege(&sid, mask)) {
d_fprintf(stderr, _("Could not grant privilege\n"));
return -1;
}