summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-08-14 12:50:34 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-08-14 12:50:34 +0000
commit93158bed606ba453666838fefa6789ef1da96226 (patch)
treeb8f01687b327ed4628be613274e9c9f1c80168ab
parent1c39d4ce50cc247adfc455f1e356fc64468954a3 (diff)
- fix format string for daddr64_t to %lld
ok otto@
-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 acbf2649a46..ad1feed3945 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.22 2009/06/02 12:35:06 deraadt Exp $ */
+/* $OpenBSD: ffs_subr.c,v 1.23 2009/08/14 12:50:33 jasper 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 %llu, end %llu\n",
+ (void)printf("\tstart %lld, end %lld overlap start %llu, end %llu\n",
start, last, ep->b_blkno,
ep->b_blkno + btodb(ep->b_bcount) - 1);
panic("Disk buffer overlap");