aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_acl_platform_nfs4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_acl_platform_nfs4.c')
-rw-r--r--libarchive/test/test_acl_platform_nfs4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libarchive/test/test_acl_platform_nfs4.c b/libarchive/test/test_acl_platform_nfs4.c
index 410582bfc7b5..ae4bb5a10125 100644
--- a/libarchive/test/test_acl_platform_nfs4.c
+++ b/libarchive/test/test_acl_platform_nfs4.c
@@ -634,9 +634,11 @@ acl_match(acl_entry_t aclent, struct myacl_t *myacl)
case ACL_ENTRY_TYPE_AUDIT:
if (myacl->type != ARCHIVE_ENTRY_ACL_TYPE_AUDIT)
return (0);
+ break;
case ACL_ENTRY_TYPE_ALARM:
if (myacl->type != ARCHIVE_ENTRY_ACL_TYPE_ALARM)
return (0);
+ break;
default:
return (0);
}