diff options
| author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2009-05-22 15:56:43 +0000 |
|---|---|---|
| committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2009-05-22 15:56:43 +0000 |
| commit | ae1add4e55214610068712ef35b5787f01fcae53 (patch) | |
| tree | c4c23f9c8441dec7c3000e786fd64356cf1e6e07 /lib/libc/posix1e/acl_init.c | |
| parent | 682eec57c4d5bf357744d47e2f23bb0ee8829b39 (diff) | |
Notes
Diffstat (limited to 'lib/libc/posix1e/acl_init.c')
| -rw-r--r-- | lib/libc/posix1e/acl_init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_init.c b/lib/libc/posix1e/acl_init.c index 6ce40de47969..905df60bce0f 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); } |
