summaryrefslogtreecommitdiff
path: root/bin/pax/ar_io.c
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2008-06-11 00:49:09 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2008-06-11 00:49:09 +0000
commitaca026a36001bd6ccecb84c44ceac1bda62a0147 (patch)
treeb0a27ba27b712622cfffc6f615b3eb3665404bb2 /bin/pax/ar_io.c
parentd8660a73c1ac2d9df61c5e2103ed7d788541d702 (diff)
Add tar -j option that calls bzip2 for compress/decompress. Requires
you to install the bzip2 pkg (or add bzip2 in another way). ok millert@ otto@ deraadt@ and 'many others'@ man page tweak from jmc@
Diffstat (limited to 'bin/pax/ar_io.c')
-rw-r--r--bin/pax/ar_io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/pax/ar_io.c b/bin/pax/ar_io.c
index 2b52bd6d738..2a833bb2f65 100644
--- a/bin/pax/ar_io.c
+++ b/bin/pax/ar_io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar_io.c,v 1.37 2005/08/04 10:02:44 mpf Exp $ */
+/* $OpenBSD: ar_io.c,v 1.38 2008/06/11 00:49:08 pvalchev Exp $ */
/* $NetBSD: ar_io.c,v 1.5 1996/03/26 23:54:13 mrg Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static const char sccsid[] = "@(#)ar_io.c 8.2 (Berkeley) 4/18/94";
#else
-static const char rcsid[] = "$OpenBSD: ar_io.c,v 1.37 2005/08/04 10:02:44 mpf Exp $";
+static const char rcsid[] = "$OpenBSD: ar_io.c,v 1.38 2008/06/11 00:49:08 pvalchev Exp $";
#endif
#endif /* not lint */
@@ -1284,7 +1284,7 @@ ar_start_gzip(int fd, const char *gzip_program, int wr)
close(fds[0]);
close(fds[1]);
if (execlp(gzip_program, gzip_program, gzip_flags, (char *)NULL) < 0)
- err(1, "could not exec");
+ err(1, "could not exec %s", gzip_program);
/* NOTREACHED */
}
}