Author: delphij
Date: Mon Aug 24 04:49:20 2015
New Revision: 287093
URL: https://svnweb.freebsd.org/changeset/base/287093

Log:
  Instead of doing an no-op (|= 0), actually clear the flags in
  acl_clear_flags_np.
  
  MFC after:    2 weeks

Modified:
  head/lib/libc/posix1e/acl_flag.c

Modified: head/lib/libc/posix1e/acl_flag.c
==============================================================================
--- head/lib/libc/posix1e/acl_flag.c    Mon Aug 24 04:39:07 2015        
(r287092)
+++ head/lib/libc/posix1e/acl_flag.c    Mon Aug 24 04:49:20 2015        
(r287093)
@@ -71,7 +71,7 @@ acl_clear_flags_np(acl_flagset_t flagset
                return (-1);
        }
 
-       *flagset_d |= 0;
+       *flagset_d = 0;
 
        return (0);
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to