summaryrefslogtreecommitdiff
path: root/bin/pax/ar_io.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-05-26 00:32:22 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-05-26 00:32:22 +0000
commit7c9baf59207d20bdbda9b4ce92974c7a849bd103 (patch)
treebb08ade769166bc003208b6bd049100313d14f77 /bin/pax/ar_io.c
parent1b2966f9449cb2e15cc400e0c3e2d2e69a42135b (diff)
Get rid of NET2_FTS and NET2_REGEX #ifdefs since they are useless.
Change NET2_STAT into LONG_OFF_T for portability to systems with a 32bit off_t.
Diffstat (limited to 'bin/pax/ar_io.c')
-rw-r--r--bin/pax/ar_io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/pax/ar_io.c b/bin/pax/ar_io.c
index a67a4f8d80e..f27243f7020 100644
--- a/bin/pax/ar_io.c
+++ b/bin/pax/ar_io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar_io.c,v 1.21 2001/05/16 03:04:54 mickey Exp $ */
+/* $OpenBSD: ar_io.c,v 1.22 2001/05/26 00:32:20 millert Exp $ */
/* $NetBSD: ar_io.c,v 1.5 1996/03/26 23:54:13 mrg Exp $ */
/*-
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)ar_io.c 8.2 (Berkeley) 4/18/94";
#else
-static char rcsid[] = "$OpenBSD: ar_io.c,v 1.21 2001/05/16 03:04:54 mickey Exp $";
+static char rcsid[] = "$OpenBSD: ar_io.c,v 1.22 2001/05/26 00:32:20 millert Exp $";
#endif
#endif /* not lint */
@@ -398,7 +398,7 @@ ar_close()
* could have written anything yet.
*/
if (frmt == NULL) {
-# ifdef NET2_STAT
+# ifdef LONG_OFF_T
(void)fprintf(listf, "%s: unknown format, %lu bytes skipped.\n",
# else
(void)fprintf(listf, "%s: unknown format, %qu bytes skipped.\n",
@@ -413,7 +413,7 @@ ar_close()
(void)fprintf(listf, "%qu blocks\n", (rdcnt ? rdcnt : wrcnt) / 5120);
else if (strcmp(NM_TAR, argv0) != 0)
(void)fprintf(listf,
-# ifdef NET2_STAT
+# ifdef LONG_OFF_T
"%s: %s vol %d, %lu files, %lu bytes read, %lu bytes written.\n",
# else
"%s: %s vol %d, %lu files, %qu bytes read, %qu bytes written.\n",