mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
FreeBSD: unbreak compilation on i386
tests/zfs-tests/cmd/mmap_seek.c: use correct printf specifier module/zfs/vdev.c: vdev_clear(): correctly cast argument to atomic_add_64(). Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Martin Matuska <mm@FreeBSD.org> Closes #18096
This commit is contained in:
@@ -55,7 +55,7 @@ seek_expect(int fd, off_t offset, int whence, off_t expect_offset)
|
||||
return;
|
||||
|
||||
int err = errno;
|
||||
fprintf(stderr, "lseek(fd, %ld, SEEK_%s) = %ld (expected %ld)",
|
||||
fprintf(stderr, "lseek(fd, %jd, SEEK_%s) = %jd (expected %jd)",
|
||||
offset, (whence == SEEK_DATA ? "DATA" : "HOLE"),
|
||||
seek_offset, expect_offset);
|
||||
if (err != 0)
|
||||
|
||||
Reference in New Issue
Block a user