summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2013-03-22 10:17:42 +0000
committermm <mm@FreeBSD.org>2013-03-22 10:17:42 +0000
commitaf89cb16bfde2fc8e93708b89daff55026d3b216 (patch)
tree26ec75dd504a868603c0540d52c17669c59a9166 /usr.sbin/bsdinstall
parent91184d303fb67f95efb9290219bfdb7b9594ab73 (diff)
downloadFreeBSD-src-af89cb16bfde2fc8e93708b89daff55026d3b216.zip
FreeBSD-src-af89cb16bfde2fc8e93708b89daff55026d3b216.tar.gz
Replace deprecated (or remove obsolete) libarchive 2.8 functions
with libarchive 3.0 counterparts
Diffstat (limited to 'usr.sbin/bsdinstall')
-rw-r--r--usr.sbin/bsdinstall/distextract/distextract.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bsdinstall/distextract/distextract.c b/usr.sbin/bsdinstall/distextract/distextract.c
index 0afe761..a35dbd6 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);
OpenPOWER on IntegriCloud