summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2010-05-20 18:46:11 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2010-05-20 18:46:11 +0000
commit674d3a9960ac1dd51dccc79e19c6007e61014301 (patch)
treee244320eef7eda5311bba06253c40d6a212c985f /lib/libc
parent0941e62812dfd795fc7fcf6326552d9eec24fee8 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/posix1e/acl_branding.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/posix1e/acl_branding.c b/lib/libc/posix1e/acl_branding.c
index 983947758e09..84b00636c195 100644
--- a/lib/libc/posix1e/acl_branding.c
+++ b/lib/libc/posix1e/acl_branding.c
@@ -129,6 +129,9 @@ _acl_type_not_valid_for_acl(const acl_t acl, acl_type_t type)
if (type == ACL_TYPE_ACCESS || type == ACL_TYPE_DEFAULT)
return (0);
break;
+
+ case ACL_BRAND_UNKNOWN:
+ return (0);
}
return (-1);