diff options
author | 2004-01-20 14:08:45 +0000 | |
---|---|---|
committer | 2004-01-20 14:08:45 +0000 | |
commit | 9b5dfe19ad0cfc5e7638949992d0da493130d9fb (patch) | |
tree | db536aa95c551759c352ef2df5bff37ac53526e3 | |
parent | show usage if called without command (diff) | |
download | wireguard-openbsd-9b5dfe19ad0cfc5e7638949992d0da493130d9fb.tar.xz wireguard-openbsd-9b5dfe19ad0cfc5e7638949992d0da493130d9fb.zip |
When trying to append to a gzipped archive, print msg using errx(),
not err(). ok millert@
-rw-r--r-- | bin/pax/pax.c | 6 |
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: |