Fix build of 64 bit platforms.
This commit is contained in:
parent
d4d57bd023
commit
cba63e0291
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104716
@ -527,8 +527,9 @@ ffs_snapshot(mp, snapfile)
|
||||
* Write out the list of allocated blocks to the end of the snapshot.
|
||||
*/
|
||||
if (ip->i_snapblklist - listhd != ip->i_snaplistsize)
|
||||
printf("Snaplist mismatch, got %d should be %jd\n",
|
||||
ip->i_snapblklist - listhd, (intmax_t)ip->i_snaplistsize);
|
||||
printf("Snaplist mismatch, got %jd should be %jd\n",
|
||||
(intmax_t)(ip->i_snapblklist - listhd),
|
||||
(intmax_t)ip->i_snaplistsize);
|
||||
auio.uio_iov = &aiov;
|
||||
auio.uio_iovcnt = 1;
|
||||
aiov.iov_base = (void *)listhd;
|
||||
|
Loading…
Reference in New Issue
Block a user