summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2004-01-20 14:08:46 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2004-01-20 14:08:46 +0000
commit47993984d521ec5a28ae8b3d67aeecb00f365a5a (patch)
treea94db85844353702f51d702f4b1aa020e1153725 /bin
parent9758697b51cbb8a47612d01a8da9a5b88bf0492e (diff)
When trying to append to a gzipped archive, print msg using errx(),
not err(). ok millert@
Diffstat (limited to 'bin')
-rw-r--r--bin/pax/pax.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/pax/pax.c b/bin/pax/pax.c
index 12c81c6a029..41a829bfa67 100644
--- a/bin/pax/pax.c
+++ b/bin/pax/pax.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pax.c,v 1.25 2003/10/20 06:22:27 jmc Exp $ */
+/* $OpenBSD: pax.c,v 1.26 2004/01/20 14:08:45 otto Exp $ */
/* $NetBSD: pax.c,v 1.5 1996/03/26 23:54:20 mrg Exp $ */
/*-
@@ -44,7 +44,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)pax.c 8.2 (Berkeley) 4/18/94";
#else
-static const char rcsid[] = "$OpenBSD: pax.c,v 1.25 2003/10/20 06:22:27 jmc Exp $";
+static const char rcsid[] = "$OpenBSD: pax.c,v 1.26 2004/01/20 14:08:45 otto Exp $";
#endif
#endif /* not lint */
@@ -281,7 +281,7 @@ main(int argc, char **argv)
break;
case APPND:
if (gzip_program != NULL)
- err(1, "can not gzip while appending");
+ errx(1, "can not gzip while appending");
append();
break;
case COPY: