summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_cluster.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-29 17:38:14 +0000
committerbde <bde@FreeBSD.org>1998-07-29 17:38:14 +0000
commit57b661836aae1698e2f0388e6462e8f1521b801d (patch)
tree9d6b5e21e6afa66e7b770366c1471181303961a1 /sys/kern/vfs_cluster.c
parent690e655ec2e48e3998b33a9edfaa8ba85ccce301 (diff)
downloadFreeBSD-src-57b661836aae1698e2f0388e6462e8f1521b801d.zip
FreeBSD-src-57b661836aae1698e2f0388e6462e8f1521b801d.tar.gz
Fixed printf format errors.
Diffstat (limited to 'sys/kern/vfs_cluster.c')
-rw-r--r--sys/kern/vfs_cluster.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c
index 3ea15a4..0ab55fa 100644
--- a/sys/kern/vfs_cluster.c
+++ b/sys/kern/vfs_cluster.c
@@ -33,7 +33,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_cluster.c 8.7 (Berkeley) 2/13/94
- * $Id: vfs_cluster.c,v 1.64 1998/07/07 04:36:23 bde Exp $
+ * $Id: vfs_cluster.c,v 1.65 1998/07/11 10:45:45 bde Exp $
*/
#include "opt_debug_cluster.h"
@@ -245,8 +245,8 @@ single_block_read:
if (bp) {
#if defined(CLUSTERDEBUG)
if (rcluster)
- printf("S(%d,%d,%d) ",
- bp->b_lblkno, bp->b_bcount, seqcount);
+ printf("S(%ld,%ld,%d) ",
+ (long)bp->b_lblkno, bp->b_bcount, seqcount);
#endif
if ((bp->b_flags & B_CLUSTER) == 0)
vfs_busy_pages(bp, 0);
@@ -268,15 +268,15 @@ single_block_read:
#if defined(CLUSTERDEBUG)
if (rcluster) {
if (bp)
- printf("A+(%d,%d,%d,%d) ",
- rbp->b_lblkno, rbp->b_bcount,
- rbp->b_lblkno - origblkno,
- seqcount);
+ printf("A+(%ld,%ld,%ld,%d) ",
+ (long)rbp->b_lblkno, rbp->b_bcount,
+ (long)(rbp->b_lblkno - origblkno),
+ seqcount);
else
- printf("A(%d,%d,%d,%d) ",
- rbp->b_lblkno, rbp->b_bcount,
- rbp->b_lblkno - origblkno,
- seqcount);
+ printf("A(%ld,%ld,%ld,%d) ",
+ (long)rbp->b_lblkno, rbp->b_bcount,
+ (long)(rbp->b_lblkno - origblkno),
+ seqcount);
}
#endif
@@ -313,7 +313,7 @@ cluster_rbuild(vp, filesize, lbn, blkno, size, run, fbp)
#ifdef DIAGNOSTIC
if (size != vp->v_mount->mnt_stat.f_iosize)
- panic("cluster_rbuild: size %d != filesize %d\n",
+ panic("cluster_rbuild: size %ld != filesize %ld\n",
size, vp->v_mount->mnt_stat.f_iosize);
#endif
/*
OpenPOWER on IntegriCloud