aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-07-20 01:09:35 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-07-20 01:09:35 +0000
commit382f95d332eb42a6a06ef585d2855b536978a48d (patch)
tree37d76cd497484aabbb454383e484b15445e1301f
parentd6ac80d12fde291cbbf9c271e25fbea97e15ff2c (diff)
downloadsrc-382f95d332eb42a6a06ef585d2855b536978a48d.tar.gz
src-382f95d332eb42a6a06ef585d2855b536978a48d.zip
Fix a warning:
ffs_softdep.c:1630: warning: int format, different type arg (arg 2)
Notes
Notes: svn path=/head/; revision=100382
-rw-r--r--sys/ufs/ffs/ffs_softdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index 631c82a34855..4f73368e688d 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -1627,7 +1627,8 @@ softdep_setup_allocext(ip, lbn, newblkno, oldblkno, newsize, oldsize, bp)
WORKLIST_INSERT(&bp->b_dep, &adp->ad_list);
if (lbn >= NXADDR) {
FREE_LOCK(&lk);
- panic("softdep_setup_allocext: lbn %d > NXADDR", lbn);
+ panic("softdep_setup_allocext: lbn %lld > NXADDR",
+ (long long)lbn);
}
/*
* The list of allocdirects must be kept in sorted and ascending