From 0051154b1c9b5007c97501b0de73fd6ad43488f9 Mon Sep 17 00:00:00 2001 From: "Chris D. Faulhaber" Date: Thu, 3 May 2001 03:17:44 +0000 Subject: [PATCH] Correct assignment of the resulting ACL allowing the mask entry to be properly set. Obtained from: TrustedBSD Project --- bin/setfacl/mask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/setfacl/mask.c b/bin/setfacl/mask.c index 595ab44aeb3..fd4409ae096 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;