summaryrefslogtreecommitdiff
path: root/sys/ufs/ffs/ffs_subr.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-02 12:35:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-02 12:35:07 +0000
commit7ae3542fd7fd182bca11bfcf4c9a2622e42da203 (patch)
tree9b61b0c032c5c9de329560eb9b090cc0853c0513 /sys/ufs/ffs/ffs_subr.c
parenta8bd1c8414967f4fdd652eac1ebdcdf9d01f17e6 (diff)
blkno's are 64 bit so need %llu, found by Parfait
ok oga
Diffstat (limited to 'sys/ufs/ffs/ffs_subr.c')
-rw-r--r--sys/ufs/ffs/ffs_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_subr.c b/sys/ufs/ffs/ffs_subr.c
index 21524c2bcbf..acbf2649a46 100644
--- a/sys/ufs/ffs/ffs_subr.c
+++ b/sys/ufs/ffs/ffs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_subr.c,v 1.21 2008/01/05 19:49:26 otto Exp $ */
+/* $OpenBSD: ffs_subr.c,v 1.22 2009/06/02 12:35:06 deraadt Exp $ */
/* $NetBSD: ffs_subr.c,v 1.6 1996/03/17 02:16:23 christos Exp $ */
/*
@@ -142,7 +142,7 @@ ffs_checkoverlap(struct buf *bp, struct inode *ip)
ep->b_blkno + btodb(ep->b_bcount) <= start)
continue;
vprint("Disk overlap", vp);
- (void)printf("\tstart %d, end %d overlap start %d, end %ld\n",
+ (void)printf("\tstart %d, end %d overlap start %llu, end %llu\n",
start, last, ep->b_blkno,
ep->b_blkno + btodb(ep->b_bcount) - 1);
panic("Disk buffer overlap");