]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Use -q option to lrzip to be quiet.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Fri, 5 Oct 2012 02:07:58 +0000 (11:07 +0900)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Fri, 5 Oct 2012 02:07:58 +0000 (11:07 +0900)
libarchive/archive_read_support_filter_lrzip.c
libarchive/archive_write_add_filter_lrzip.c

index ca12b59de2bc1815bec325698bfc76dd6d3b7b11..c61076f2446b43395aeab180f1c0193db159f617 100644 (file)
@@ -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. */
index ac53437a03f00256be0877042b3fdbd2e0c9f090..5602c87039d48d254fa74757508275d1c1cb5754 100644 (file)
@@ -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 <errno.h>
@@ -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);
 }