Unbreak the build on architectures where size_t isn't synonymous with uintmax_t

I should have used `%zu` instead of `%ju` with `size_t` types.

MFC after:	1 month
MFC with:	r343362, r343365
Approved by:	emaste (mentor; implicit)
Reviewed by:	asomers
Pointyhat to:	ngie
Submitted by:	asomers
Differential Revision: https://reviews.freebsd.org/D18935
This commit is contained in:
Enji Cooper 2019-01-23 23:30:55 +00:00
parent dab0311030
commit 8dd6af34bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343367

View File

@ -289,8 +289,8 @@ verify_source_and_dest(const char* dest_filename, int src_fd, off_t offset,
length = (nbytes == 0) ? (size_t)(src_file_size - offset) : nbytes;
ATF_REQUIRE_EQ_MSG(dest_file_size, length,
"number of bytes written out to %s (%ju) doesn't match the "
"expected number of bytes (%ju)", dest_filename, dest_file_size,
"number of bytes written out to %s (%zu) doesn't match the "
"expected number of bytes (%zu)", dest_filename, dest_file_size,
length);
ATF_REQUIRE_EQ_MSG(0, lseek(src_fd, offset, SEEK_SET),