summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/acl_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/posix1e/acl_init.c')
-rw-r--r--lib/libc/posix1e/acl_init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_init.c b/lib/libc/posix1e/acl_init.c
index 6ce40de..905df60 100644
--- a/lib/libc/posix1e/acl_init.c
+++ b/lib/libc/posix1e/acl_init.c
@@ -54,8 +54,10 @@ acl_init(int count)
}
acl = malloc(sizeof(struct acl_t_struct));
- if (acl != NULL)
+ if (acl != NULL) {
bzero(acl, sizeof(struct acl_t_struct));
+ acl->ats_acl.acl_maxcnt = ACL_MAX_ENTRIES;
+ }
return (acl);
}
OpenPOWER on IntegriCloud