diff options
author | nectar <nectar@FreeBSD.org> | 2004-01-06 20:29:40 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2004-01-06 20:29:40 +0000 |
commit | 42a056d4f8adc856e642476b75898a78576d4f02 (patch) | |
tree | c909ac3bf1d9edc1e0489482ef396f257e31b850 /lib/libc/posix1e/acl_delete_entry.c | |
parent | 690a76d775cd7265ba32b64c10495436271a229d (diff) | |
download | FreeBSD-src-42a056d4f8adc856e642476b75898a78576d4f02.zip FreeBSD-src-42a056d4f8adc856e642476b75898a78576d4f02.tar.gz |
Adjust for brain outage that affected the previous commit.
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Diffstat (limited to 'lib/libc/posix1e/acl_delete_entry.c')
-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 3a7609a..3195fac 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], |