summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-08-30 12:44:08 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-11 18:46:08 +1000
commita02ae674dd6ffaa8ebc4017af6a644162c59a00d (patch)
treee9d25b391a3f41e3a55cbad2b541137908ca3fd6 /source3/utils
parentcbd72ab93bc35aa71a55b190cd999dda4106be07 (diff)
downloadsamba-a02ae674dd6ffaa8ebc4017af6a644162c59a00d.tar.gz
samba-a02ae674dd6ffaa8ebc4017af6a644162c59a00d.tar.bz2
samba-a02ae674dd6ffaa8ebc4017af6a644162c59a00d.zip
s3-privs Remove a pointer indirection from revoke_privilege()
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 6a9e261ea0..113818200e 100644
--- a/source3/utils/net_sam.c
+++ b/source3/utils/net_sam.c
@@ -752,7 +752,7 @@ static int net_sam_rights_revoke(struct net_context *c, int argc,
return -1;
}
- if (!revoke_privilege(&sid, &mask)) {
+ if (!revoke_privilege(&sid, mask)) {
d_fprintf(stderr, _("Could not revoke privilege\n"));
return -1;
}