summaryrefslogtreecommitdiff
path: root/sys/ufs/ext2fs/ext2fs_subr.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2013-11-01 17:36:20 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2013-11-01 17:36:20 +0000
commitb8183a0dbd4877f3cb0a20e0e6125c02674f08d2 (patch)
treed8807435b56011aa01dbd9ae817d091c18d254de /sys/ufs/ext2fs/ext2fs_subr.c
parent0b88d158f37a4188b2c37633639614eba0110aa5 (diff)
Sprinkle (long long) casts where %lld is being used to print daddr_t
variables. Some random whitespace/knf repairs encountered on the way. ok miod@ on inspection, feedback & more suggestions from millert@
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs_subr.c')
-rw-r--r--sys/ufs/ext2fs/ext2fs_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_subr.c b/sys/ufs/ext2fs/ext2fs_subr.c
index 2d99e193ac7..6374d40dee3 100644
--- a/sys/ufs/ext2fs/ext2fs_subr.c
+++ b/sys/ufs/ext2fs/ext2fs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_subr.c,v 1.28 2013/06/11 16:42:18 deraadt Exp $ */
+/* $OpenBSD: ext2fs_subr.c,v 1.29 2013/11/01 17:36:19 krw Exp $ */
/* $NetBSD: ext2fs_subr.c,v 1.1 1997/06/11 09:34:03 bouyer Exp $ */
/*
@@ -125,8 +125,8 @@ ext2fs_checkoverlap(struct buf *bp, struct inode *ip)
continue;
vprint("Disk overlap", vp);
printf("\tstart %lld, end %lld overlap start %lld, end %lld\n",
- start, last, ep->b_blkno,
- ep->b_blkno + btodb(ep->b_bcount) - 1);
+ start, last, (long long)ep->b_blkno,
+ (long long)(ep->b_blkno + btodb(ep->b_bcount) - 1));
panic("Disk buffer overlap");
}
}