diff options
author | Martin Matuska <mm@FreeBSD.org> | 2013-03-22 10:17:42 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2013-03-22 10:17:42 +0000 |
commit | ebb8fc42bea6f8d36d49b0c0dd2cf5c4f052ade5 (patch) | |
tree | 26ec75dd504a868603c0540d52c17669c59a9166 /usr.sbin/bsdinstall/distextract | |
parent | 051a23d4e858d8998e196e571b40fa260a825280 (diff) | |
download | src-ebb8fc42bea6f8d36d49b0c0dd2cf5c4f052ade5.tar.gz src-ebb8fc42bea6f8d36d49b0c0dd2cf5c4f052ade5.zip |
Replace deprecated (or remove obsolete) libarchive 2.8 functions
with libarchive 3.0 counterparts
Notes
Notes:
svn path=/head/; revision=248612
Diffstat (limited to 'usr.sbin/bsdinstall/distextract')
-rw-r--r-- | usr.sbin/bsdinstall/distextract/distextract.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bsdinstall/distextract/distextract.c b/usr.sbin/bsdinstall/distextract/distextract.c index 0afe7612fad0..a35dbd606c19 100644 --- a/usr.sbin/bsdinstall/distextract/distextract.c +++ b/usr.sbin/bsdinstall/distextract/distextract.c @@ -126,7 +126,7 @@ count_files(const char *file) /* Either we didn't have a manifest, or this archive wasn't there */ archive = archive_read_new(); archive_read_support_format_all(archive); - archive_read_support_compression_all(archive); + archive_read_support_filter_all(archive); sprintf(path, "%s/%s", getenv("BSDINSTALL_DISTDIR"), file); err = archive_read_open_filename(archive, path, 4096); if (err != ARCHIVE_OK) { @@ -188,7 +188,7 @@ extract_files(int nfiles, const char **files) for (i = 0; i < nfiles; i++) { archive = archive_read_new(); archive_read_support_format_all(archive); - archive_read_support_compression_all(archive); + archive_read_support_filter_all(archive); sprintf(path, "%s/%s", getenv("BSDINSTALL_DISTDIR"), files[i]); err = archive_read_open_filename(archive, path, 4096); |