Fix build of 64 bit platforms.

This commit is contained in:
Maxime Henrion 2002-10-09 12:19:36 +00:00
parent d4d57bd023
commit cba63e0291
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104716

View File

@ -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;