diff options
author | delphij <delphij@FreeBSD.org> | 2015-08-24 04:49:20 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2015-08-24 04:49:20 +0000 |
commit | 3d11afb49c3c0c9dc22cc90bc263eca6b0851dd8 (patch) | |
tree | 2e4109655e669ecbfce3917872882e863b1a7358 /lib/libc | |
parent | 6367e16f102ecf76bf72d6fc8b9821fb7d856a43 (diff) | |
download | FreeBSD-src-3d11afb49c3c0c9dc22cc90bc263eca6b0851dd8.zip FreeBSD-src-3d11afb49c3c0c9dc22cc90bc263eca6b0851dd8.tar.gz |
Instead of doing an no-op (|= 0), actually clear the flags in
acl_clear_flags_np.
MFC after: 2 weeks
Diffstat (limited to 'lib/libc')
-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); } |