summaryrefslogtreecommitdiffstats
path: root/bin/setfacl
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2001-05-03 03:17:44 +0000
committerjedgar <jedgar@FreeBSD.org>2001-05-03 03:17:44 +0000
commit28ac96c49a5cc1cf90ff31030ccc5f19e0621f06 (patch)
treefc33113fc0bf0aaa2e34d7edd743a2abe11ab6ba /bin/setfacl
parentb42b88dc6abdf4f7e7e60d559151c38de4f7b716 (diff)
downloadFreeBSD-src-28ac96c49a5cc1cf90ff31030ccc5f19e0621f06.zip
FreeBSD-src-28ac96c49a5cc1cf90ff31030ccc5f19e0621f06.tar.gz
Correct assignment of the resulting ACL allowing the mask entry to
be properly set. Obtained from: TrustedBSD Project
Diffstat (limited to 'bin/setfacl')
-rw-r--r--bin/setfacl/mask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/setfacl/mask.c b/bin/setfacl/mask.c
index 595ab44..fd4409a 100644
--- a/bin/setfacl/mask.c
+++ b/bin/setfacl/mask.c
@@ -105,7 +105,7 @@ set_acl_mask(acl_t *prev_acl)
return 0;
}
- prev_acl = &acl;
+ **prev_acl = *acl;
acl_free(acl);
return 0;
OpenPOWER on IntegriCloud