Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/pax Fix bogus paranthesis, From Henning Peternse in PR b...
details: https://anonhg.NetBSD.org/src/rev/e0764f03a06c
branches: trunk
changeset: 763575:e0764f03a06c
user: martin <martin%NetBSD.org@localhost>
date: Sat Mar 26 12:01:06 2011 +0000
description:
Fix bogus paranthesis, From Henning Peternse in PR bin/44773.
diffstat:
bin/pax/cpio.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (40 lines):
diff -r 13780fb700f4 -r e0764f03a06c bin/pax/cpio.c
--- a/bin/pax/cpio.c Fri Mar 25 22:56:34 2011 +0000
+++ b/bin/pax/cpio.c Sat Mar 26 12:01:06 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpio.c,v 1.20 2009/02/14 08:10:06 lukem Exp $ */
+/* $NetBSD: cpio.c,v 1.21 2011/03/26 12:01:06 martin Exp $ */
/*-
* Copyright (c) 1992 Keith Muller.
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)cpio.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: cpio.c,v 1.20 2009/02/14 08:10:06 lukem Exp $");
+__RCSID("$NetBSD: cpio.c,v 1.21 2011/03/26 12:01:06 martin Exp $");
#endif
#endif /* not lint */
@@ -649,8 +649,8 @@
off_t
vcpio_endrd(void)
{
- return (off_t)(sizeof(HD_VCPIO) + sizeof(TRAILER +
- (VCPIO_PAD(sizeof(HD_VCPIO) + sizeof(TRAILER)))));
+ return (off_t)(sizeof(HD_VCPIO) + sizeof(TRAILER) +
+ (VCPIO_PAD(sizeof(HD_VCPIO) + sizeof(TRAILER))));
}
/*
@@ -958,8 +958,8 @@
off_t
bcpio_endrd(void)
{
- return (off_t)(sizeof(HD_BCPIO) + sizeof(TRAILER +
- (BCPIO_PAD(sizeof(HD_BCPIO) + sizeof(TRAILER)))));
+ return (off_t)(sizeof(HD_BCPIO) + sizeof(TRAILER) +
+ (BCPIO_PAD(sizeof(HD_BCPIO) + sizeof(TRAILER))));
}
/*
Home |
Main Index |
Thread Index |
Old Index