From: Michihiro NAKAJIMA Date: Fri, 5 Oct 2012 02:07:58 +0000 (+0900) Subject: Use -q option to lrzip to be quiet. X-Git-Tag: v3.1.0~40^2~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=776831a379785180c08a5d03197d6db1129c4e9f;p=thirdparty%2Flibarchive.git Use -q option to lrzip to be quiet. --- diff --git a/libarchive/archive_read_support_filter_lrzip.c b/libarchive/archive_read_support_filter_lrzip.c index ca12b59de..c61076f24 100644 --- a/libarchive/archive_read_support_filter_lrzip.c +++ b/libarchive/archive_read_support_filter_lrzip.c @@ -117,7 +117,7 @@ lrzip_bidder_init(struct archive_read_filter *self) { int r; - r = __archive_read_program(self, "lrunzip"); + r = __archive_read_programl(self, "lrzip", "lrzip", "-q", "-d", NULL); /* Note: We set the format here even if __archive_read_program() * above fails. We do, after all, know what the format is * even if we weren't able to read it. */ diff --git a/libarchive/archive_write_add_filter_lrzip.c b/libarchive/archive_write_add_filter_lrzip.c index ac53437a0..5602c8703 100644 --- a/libarchive/archive_write_add_filter_lrzip.c +++ b/libarchive/archive_write_add_filter_lrzip.c @@ -25,7 +25,7 @@ #include "archive_platform.h" -__FBSDID("$FreeBSD: head/lib/libarchive/archive_write_set_compression_lrzip.c 201081 2009-12-28 02:04:42Z kientzle $"); +__FBSDID("$FreeBSD$"); #ifdef HAVE_ERRNO_H #include @@ -46,5 +46,6 @@ __FBSDID("$FreeBSD: head/lib/libarchive/archive_write_set_compression_lrzip.c 20 int archive_write_add_filter_lrzip(struct archive *a) { - return archive_write_add_filter_program(a, "lrzip"); + return archive_write_add_filter_programl(a, "lrzip", "lrzip", + "-q", NULL); }