summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/acl_valid.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/posix1e/acl_valid.c')
-rw-r--r--lib/libc/posix1e/acl_valid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/posix1e/acl_valid.c b/lib/libc/posix1e/acl_valid.c
index 602d4d5..69d0f1d 100644
--- a/lib/libc/posix1e/acl_valid.c
+++ b/lib/libc/posix1e/acl_valid.c
@@ -69,7 +69,7 @@ acl_valid_file(const char *pathp, acl_type_t type, acl_t acl)
{
int error;
- if (acl_posix1e(acl)) {
+ if (acl_posix1e(acl, type)) {
error = acl_sort(acl);
if (error) {
errno = error;
@@ -86,7 +86,7 @@ acl_valid_fd(int fd, acl_type_t type, acl_t acl)
{
int error;
- if (acl_posix1e(acl)) {
+ if (acl_posix1e(acl, type)) {
error = acl_sort(acl);
if (error) {
errno = error;
OpenPOWER on IntegriCloud