From 34103b3cacf82782cf59e5efea2765c316596e4b Mon Sep 17 00:00:00 2001 From: Xin LI Date: Mon, 24 Aug 2015 04:49:20 +0000 Subject: [PATCH] Instead of doing an no-op (|= 0), actually clear the flags in acl_clear_flags_np. MFC after: 2 weeks --- lib/libc/posix1e/acl_flag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/posix1e/acl_flag.c b/lib/libc/posix1e/acl_flag.c index 39e258da678..8ad10c52d9d 100644 --- a/lib/libc/posix1e/acl_flag.c +++ b/lib/libc/posix1e/acl_flag.c @@ -71,7 +71,7 @@ acl_clear_flags_np(acl_flagset_t flagset_d) return (-1); } - *flagset_d |= 0; + *flagset_d = 0; return (0); }