diff options
author | delphij <delphij@FreeBSD.org> | 2015-09-08 01:44:37 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2015-09-08 01:44:37 +0000 |
commit | edf4da8597a941280a832072a6283a31f0ae8c77 (patch) | |
tree | dc309965dbba6a2b8e578e1a4bcf05acc8aeee3b | |
parent | 1b3405f899e69cf3e70e942bacf6234a17763382 (diff) | |
download | FreeBSD-src-edf4da8597a941280a832072a6283a31f0ae8c77.zip FreeBSD-src-edf4da8597a941280a832072a6283a31f0ae8c77.tar.gz |
MFC r287093:
Instead of doing an no-op (|= 0), actually clear the flags in
acl_clear_flags_np.
Reported by: Pascal Drecker <pascal freebsd drecker com>
-rw-r--r-- | lib/libc/posix1e/acl_flag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_flag.c b/lib/libc/posix1e/acl_flag.c index 39e258d..8ad10c5 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); } |