diff --git a/bin/setfacl/mask.c b/bin/setfacl/mask.c index 595ab44aeb39..fd4409ae096d 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;