aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ar/acpyacc.y
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2009-12-29 05:58:40 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2009-12-29 05:58:40 +0000
commitdc7c0661df42499fe9b7546b489a391f638a0313 (patch)
tree023efb3892ab9cf9648fb0a3924463782136ad19 /usr.bin/ar/acpyacc.y
parent25557ee5f417ba4648ed64fa90f9957e1bf78168 (diff)
downloadsrc-dc7c0661df42499fe9b7546b489a391f638a0313.tar.gz
src-dc7c0661df42499fe9b7546b489a391f638a0313.zip
ar only needs to support ar format.
Notes
Notes: svn path=/head/; revision=201166
Diffstat (limited to 'usr.bin/ar/acpyacc.y')
-rw-r--r--usr.bin/ar/acpyacc.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ar/acpyacc.y b/usr.bin/ar/acpyacc.y
index bc25b628c68f..686bbe27a096 100644
--- a/usr.bin/ar/acpyacc.y
+++ b/usr.bin/ar/acpyacc.y
@@ -251,7 +251,7 @@ arscp_open(char *fname)
if ((a = archive_read_new()) == NULL)
bsdar_errc(bsdar, EX_SOFTWARE, 0, "archive_read_new failed");
archive_read_support_compression_all(a);
- archive_read_support_format_all(a);
+ archive_read_support_format_ar(a);
AC(archive_read_open_file(a, fname, DEF_BLKSZ));
if ((r = archive_read_next_header(a, &entry)))
bsdar_warnc(bsdar, 0, "%s", archive_error_string(a));