diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-12-09 22:32:01 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-12-09 22:32:01 +0000 |
commit | 80cffb65bcb93c1014564d4eb9daaf7e99ad44e2 (patch) | |
tree | 5bce19599ead553d97ca5b217d3a3d14a0714023 /sys/gnu | |
parent | 38f6f3e89e4a56d9a1cd53abec83e005ac6ee6f7 (diff) | |
download | FreeBSD-src-80cffb65bcb93c1014564d4eb9daaf7e99ad44e2.zip FreeBSD-src-80cffb65bcb93c1014564d4eb9daaf7e99ad44e2.tar.gz |
Correct to a common %ld the 5 argument to a printf.
Diffstat (limited to 'sys/gnu')
-rw-r--r-- | sys/gnu/ext2fs/ext2_subr.c | 4 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_subr.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/gnu/ext2fs/ext2_subr.c b/sys/gnu/ext2fs/ext2_subr.c index 3ded738..ee1f621 100644 --- a/sys/gnu/ext2fs/ext2_subr.c +++ b/sys/gnu/ext2fs/ext2_subr.c @@ -120,9 +120,9 @@ ext2_checkoverlap(bp, ip) ep->b_blkno + btodb(ep->b_bcount) <= start) continue; vprint("Disk overlap", vp); - (void)printf("\tstart %d, end %d overlap start %d, end %d\n", + (void)printf("\tstart %d, end %d overlap start %d, end %ld\n", start, last, ep->b_blkno, - ep->b_blkno + btodb(ep->b_bcount) - 1); + (long)(ep->b_blkno + btodb(ep->b_bcount) - 1)); panic("Disk buffer overlap"); } } diff --git a/sys/gnu/fs/ext2fs/ext2_subr.c b/sys/gnu/fs/ext2fs/ext2_subr.c index 3ded738..ee1f621 100644 --- a/sys/gnu/fs/ext2fs/ext2_subr.c +++ b/sys/gnu/fs/ext2fs/ext2_subr.c @@ -120,9 +120,9 @@ ext2_checkoverlap(bp, ip) ep->b_blkno + btodb(ep->b_bcount) <= start) continue; vprint("Disk overlap", vp); - (void)printf("\tstart %d, end %d overlap start %d, end %d\n", + (void)printf("\tstart %d, end %d overlap start %d, end %ld\n", start, last, ep->b_blkno, - ep->b_blkno + btodb(ep->b_bcount) - 1); + (long)(ep->b_blkno + btodb(ep->b_bcount) - 1)); panic("Disk buffer overlap"); } } |