summaryrefslogtreecommitdiff
path: root/bin/pax/ar_subs.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2004-03-15 22:18:16 +0000
committerDamien Miller <djm@cvs.openbsd.org>2004-03-15 22:18:16 +0000
commita7e44c70a4e1ae8cda8071beb1896bf33c523e56 (patch)
treebd14766b1ea3da458b652673baa3d0f75e59f711 /bin/pax/ar_subs.c
parent55d8f4e52b7f8481d61a09da35095a82f0cf8644 (diff)
more "if (foo);" ok millert@
Diffstat (limited to 'bin/pax/ar_subs.c')
-rw-r--r--bin/pax/ar_subs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/pax/ar_subs.c b/bin/pax/ar_subs.c
index caedfcbc948..d2d92c4c31c 100644
--- a/bin/pax/ar_subs.c
+++ b/bin/pax/ar_subs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar_subs.c,v 1.25 2003/06/26 00:10:17 deraadt Exp $ */
+/* $OpenBSD: ar_subs.c,v 1.26 2004/03/15 22:18:15 djm Exp $ */
/* $NetBSD: ar_subs.c,v 1.5 1995/03/21 09:07:06 cgd Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static const char sccsid[] = "@(#)ar_subs.c 8.2 (Berkeley) 4/18/94";
#else
-static const char rcsid[] = "$OpenBSD: ar_subs.c,v 1.25 2003/06/26 00:10:17 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: ar_subs.c,v 1.26 2004/03/15 22:18:15 djm Exp $";
#endif
#endif /* not lint */
@@ -109,7 +109,7 @@ list(void)
* we need to read, to get the real filename
*/
off_t cnt;
- if (!(*frmt->rd_data)(arcn, -1, &cnt));
+ if (!(*frmt->rd_data)(arcn, -1, &cnt))
(void)rd_skip(cnt + arcn->pad);
continue;
}
@@ -201,7 +201,7 @@ extract(void)
/*
* we need to read, to get the real filename
*/
- if (!(*frmt->rd_data)(arcn, -1, &cnt));
+ if (!(*frmt->rd_data)(arcn, -1, &cnt))
(void)rd_skip(cnt + arcn->pad);
continue;
}