From 42a056d4f8adc856e642476b75898a78576d4f02 Mon Sep 17 00:00:00 2001 From: nectar Date: Tue, 6 Jan 2004 20:29:40 +0000 Subject: Adjust for brain outage that affected the previous commit. Submitted by: Stefan Farfeleder --- lib/libc/posix1e/acl_delete_entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc') 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], -- cgit v1.1