summaryrefslogtreecommitdiff
path: root/libexec/lfs_cleanerd/print.c
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2001-07-27 20:34:37 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2001-07-27 20:34:37 +0000
commit078253af8b9273a3cd3303ffa535f76e3260ac17 (patch)
tree5411e5337586aceb81ad2f64e4b31ea0f65e0c53 /libexec/lfs_cleanerd/print.c
parent8303d75019d73ec9a16cd4b93b922fc1d9859743 (diff)
Wall cleanup
Diffstat (limited to 'libexec/lfs_cleanerd/print.c')
-rw-r--r--libexec/lfs_cleanerd/print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/lfs_cleanerd/print.c b/libexec/lfs_cleanerd/print.c
index 9aacedef429..86b491cc5ec 100644
--- a/libexec/lfs_cleanerd/print.c
+++ b/libexec/lfs_cleanerd/print.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print.c,v 1.2 1996/07/01 11:04:58 downsj Exp $ */
+/* $OpenBSD: print.c,v 1.3 2001/07/27 20:34:36 pvalchev Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -35,7 +35,7 @@
#ifndef lint
/*static char sccsid[] = "@(#)print.c 8.2 (Berkeley) 5/24/95";*/
-static char rcsid[] = "$OpenBSD: print.c,v 1.2 1996/07/01 11:04:58 downsj Exp $";
+static char rcsid[] = "$OpenBSD: print.c,v 1.3 2001/07/27 20:34:36 pvalchev Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -101,7 +101,7 @@ dump_summary(lfsp, sp, flags, iaddrp)
dp = (daddr_t *)((caddr_t)sp + LFS_SUMMARY_SIZE);
for (--dp, i = 0; i < sp->ss_ninos; --dp)
if (flags & DUMP_INODE_ADDRS) {
- (void)printf("\t0x%lx", *dp);
+ (void)printf("\t0x%x", *dp);
if (++i % 7 == 0)
(void)printf("\n");
} else