diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2016-08-17 08:29:30 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2016-08-17 08:29:30 +0000 |
commit | 393fb50cbc1c30399ed33ab75dce94eb45e0e11f (patch) | |
tree | ede66ef06e42537b93784839a90c11f42945486e /sys/boot/efi/boot1/ufs_module.c | |
parent | eacbe92463f17419ce9169fb0a2ccd3d175a29a2 (diff) | |
download | src-393fb50cbc1c30399ed33ab75dce94eb45e0e11f.tar.gz src-393fb50cbc1c30399ed33ab75dce94eb45e0e11f.zip |
Correctly print and cast u_int64_t and off_t.
Reported by: ed, imp
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=304271
Diffstat (limited to 'sys/boot/efi/boot1/ufs_module.c')
-rw-r--r-- | sys/boot/efi/boot1/ufs_module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/efi/boot1/ufs_module.c b/sys/boot/efi/boot1/ufs_module.c index 2efdfc7e69e5..0860a860fdf5 100644 --- a/sys/boot/efi/boot1/ufs_module.c +++ b/sys/boot/efi/boot1/ufs_module.c @@ -56,9 +56,9 @@ dskread(void *buf, u_int64_t lba, int nblk) devinfo->dev->Media->MediaId, lba, size, buf); if (status != EFI_SUCCESS) { - DPRINTF("dskread: failed dev: %p, id: %u, lba: %zu, size: %d, " + DPRINTF("dskread: failed dev: %p, id: %u, lba: %ju, size: %d, " "status: %lu\n", devinfo->dev, - devinfo->dev->Media->MediaId, lba, size, + devinfo->dev->Media->MediaId, (uintmax_t)lba, size, EFI_ERROR_CODE(status)); return (-1); } |