Fix up r343367
I should have only changed the format qualifier with the `size_t` value, `length`, not the other [`off_t`] value, `dest_file_size`. MFC after: 1 month MFC with: r343362, r343365, r343367 Approved by: emaste (mentor; implicit) Reported by: gcc 8.x
This commit is contained in:
parent
8dd6af34bc
commit
e190da54d3
@ -289,7 +289,7 @@ 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 (%zu) doesn't match the "
|
||||
"number of bytes written out to %s (%ju) doesn't match the "
|
||||
"expected number of bytes (%zu)", dest_filename, dest_file_size,
|
||||
length);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user