Correct to a common %ld the 5 argument to a printf.
This commit is contained in:
parent
f5a5fd9ed1
commit
2c8380ba4a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69807
@ -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");
|
||||
}
|
||||
}
|
||||
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user