summaryrefslogtreecommitdiff
path: root/usr.sbin/mtree/compare.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-12-08 01:13:43 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-12-08 01:13:43 +0000
commit55c1691243987979c1d6e6e0c82feadcd1136617 (patch)
treee6a9f7cba794ed8cb0b6a915da1fe809e051e7ce /usr.sbin/mtree/compare.c
parent5afaaf539fd3d30c6dc1d6b4533ba69d1354a049 (diff)
64-bit clean + RCS tags
Diffstat (limited to 'usr.sbin/mtree/compare.c')
-rw-r--r--usr.sbin/mtree/compare.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/mtree/compare.c b/usr.sbin/mtree/compare.c
index 1d836c936be..28280aaacc9 100644
--- a/usr.sbin/mtree/compare.c
+++ b/usr.sbin/mtree/compare.c
@@ -1,5 +1,5 @@
/* $NetBSD: compare.c,v 1.9 1995/10/22 20:12:07 pk Exp $ */
-/* $OpenBSD: compare.c,v 1.3 1996/03/02 00:46:00 tholo Exp $ */
+/* $OpenBSD: compare.c,v 1.4 1996/12/08 01:13:38 niklas Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -77,7 +77,7 @@ compare(name, s, p)
register FTSENT *p;
{
extern int uflag;
- u_long len, val;
+ u_int32_t len, val;
int fd, label;
char *cp, *tab;
@@ -202,7 +202,7 @@ typeerr: LABEL;
(void)close(fd);
if (s->cksum != val) {
LABEL;
- (void)printf("%scksum (%lu, %lu)\n",
+ (void)printf("%scksum (%u, %u)\n",
tab, s->cksum, val);
}
tab = "\t";