Correct to a common %ld the 5 argument to a printf.

This commit is contained in:
Matt Jacob 2000-12-09 22:32:01 +00:00
parent f5a5fd9ed1
commit 2c8380ba4a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69807
2 changed files with 4 additions and 4 deletions

View File

@ -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");
}
}

View File

@ -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");
}
}