diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-03-22 03:15:01 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-03-22 03:15:01 +0000 |
commit | 1742ed5dda5179697897501cf112e1ef3b4f8864 (patch) | |
tree | da72371f48d2ea923de072c337f3da8d2ad4a977 | |
parent | cd3ede05f5770e42947fe97dfcf45756c184f3d5 (diff) |
rev 1.44 accidentally changed ar_close() to give cpio the same output as pax.
Adjust the conditions to correct that.
ok millert@
-rw-r--r-- | bin/pax/ar_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pax/ar_io.c b/bin/pax/ar_io.c index 9754174f2a0..15d94ec7aee 100644 --- a/bin/pax/ar_io.c +++ b/bin/pax/ar_io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar_io.c,v 1.49 2015/03/09 04:25:28 guenther Exp $ */ +/* $OpenBSD: ar_io.c,v 1.50 2015/03/22 03:15:00 guenther Exp $ */ /* $NetBSD: ar_io.c,v 1.5 1996/03/26 23:54:13 mrg Exp $ */ /*- @@ -390,7 +390,7 @@ ar_close(int in_sig) return; } - if (strcmp(NM_TAR, argv0) != 0) + if (strcmp(NM_PAX, argv0) == 0) (void)dprintf(listfd, "%s: %s vol %d, %lu files," " %llu bytes read, %llu bytes written.\n", argv0, frmt->name, arvol-1, flcnt, rdcnt, wrcnt); |