aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/sec_acl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/sec_acl.cc')
-rw-r--r--winsup/cygwin/sec_acl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sec_acl.cc b/winsup/cygwin/sec_acl.cc
index 0c198dc..85f0201 100644
--- a/winsup/cygwin/sec_acl.cc
+++ b/winsup/cygwin/sec_acl.cc
@@ -728,7 +728,7 @@ acltotext32 (__aclent32_t *aclbufp, int aclcnt)
first = false;
if (aclbufp[pos].a_type & ACL_DEFAULT)
strcat (buf, "default");
- switch (aclbufp[pos].a_type)
+ switch (aclbufp[pos].a_type & ~ACL_DEFAULT)
{
case USER_OBJ:
__small_sprintf (buf + strlen (buf), "user::%s",