summaryrefslogtreecommitdiffstats
path: root/usr.bin/unzip
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.bin/unzip
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.bin/unzip')
-rw-r--r--usr.bin/unzip/unzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/unzip/unzip.c b/usr.bin/unzip/unzip.c
index c43c72a..89677a2 100644
--- a/usr.bin/unzip/unzip.c
+++ b/usr.bin/unzip/unzip.c
@@ -926,7 +926,7 @@ unzip(const char *fn)
}
ac(archive_read_close(a));
- (void)archive_read_finish(a);
+ (void)archive_read_free(a);
if (t_opt) {
if (error_count > 0) {
OpenPOWER on IntegriCloud