diff options
| author | Jacques Vidrine <nectar@FreeBSD.org> | 2004-01-06 20:29:40 +0000 |
|---|---|---|
| committer | Jacques Vidrine <nectar@FreeBSD.org> | 2004-01-06 20:29:40 +0000 |
| commit | ff5fe653fa9a4ae032df7d4b2c27b5c4de4f8757 (patch) | |
| tree | c909ac3bf1d9edc1e0489482ef396f257e31b850 /lib/libc | |
| parent | 9abf1c6ab89e87c4fb770a9e1725db2c3307bd12 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/posix1e/acl_delete_entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_delete_entry.c b/lib/libc/posix1e/acl_delete_entry.c index 3a7609a2b069..3195fac65a30 100644 --- a/lib/libc/posix1e/acl_delete_entry.c +++ b/lib/libc/posix1e/acl_delete_entry.c @@ -63,7 +63,7 @@ acl_delete_entry(acl_t acl, acl_entry_t entry_d) /* ...shift the remaining entries... */ for (; i < acl->ats_acl.acl_cnt - 1; ++i) acl->ats_acl.acl_entry[i] = - acl->ats_acl.acl_entry[i]; + acl->ats_acl.acl_entry[i+1]; /* ...drop the count and zero the unused entry... */ acl->ats_acl.acl_cnt--; bzero(&acl->ats_acl.acl_entry[i], |
