git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfcb386
)
Fixed a problem in a couple OS's sys_acl_get_access_bits() functions.
author
Wayne Davison
<wayned@samba.org>
Mon, 21 May 2007 02:09:45 +0000
(
02:09
+0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 21 May 2007 02:09:45 +0000
(
02:09
+0000)
lib/sysacls.c
patch
|
blob
|
history
diff --git
a/lib/sysacls.c
b/lib/sysacls.c
index ac4909d7a015397283b57a7fa9cc5180e23a6471..b57d9d05a3203ab6646e48a8506dab307b949f1b 100644
(file)
--- a/
lib/sysacls.c
+++ b/
lib/sysacls.c
@@
-538,7
+538,7
@@
SMB_ACL_T sys_acl_get_fd(int fd)
int sys_acl_get_access_bits(SMB_ACL_ENTRY_T entry_d, uint32 *bits)
{
- *bits =
&
entry_d->a_perm;
+ *bits = entry_d->a_perm;
return 0;
}
@@
-1021,7
+1021,7
@@
SMB_ACL_T sys_acl_get_fd(int fd)
int sys_acl_get_access_bits(SMB_ACL_ENTRY_T entry_d, uint32 *bits)
{
- *bits =
&
entry_d->a_perm;
+ *bits = entry_d->a_perm;
return 0;
}