From: Michihiro NAKAJIMA Date: Wed, 9 Mar 2011 15:35:50 +0000 (-0500) Subject: Unbreak build on the platform which supports POSIX ACLs. X-Git-Tag: v3.0.0a~671 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6d2b533dde5d801eded84a2f889cbbd5683dab6;p=thirdparty%2Flibarchive.git Unbreak build on the platform which supports POSIX ACLs. SVN-Revision: 2998 --- diff --git a/libarchive/archive_write_disk.c b/libarchive/archive_write_disk.c index 212febcdf..78feb9ee2 100644 --- a/libarchive/archive_write_disk.c +++ b/libarchive/archive_write_disk.c @@ -2682,8 +2682,9 @@ set_acl(struct archive_write_disk *a, int fd, const char *name, if (entries == 0) return (ARCHIVE_OK); acl = acl_init(entries); - while (archive_acl_next(abstract_acl, ae_requested_type, &ae_type, - &ae_permset, &ae_tag, &ae_id, &ae_name) == ARCHIVE_OK) { + while (archive_acl_next((struct archive *)a, abstract_acl, + ae_requested_type, &ae_type, &ae_permset, &ae_tag, &ae_id, + &ae_name) == ARCHIVE_OK) { acl_create_entry(&acl, &acl_entry); switch (ae_tag) {