Fix 32-bit build post 6733401935

The general style in sbin/nvmecontrol apppears to print uint64_t types
using %j, so I'm using that instead of the more general (but admittedly
ugly) PRIu64.
This commit is contained in:
Dimitry Andric 2021-01-08 23:38:21 +01:00
parent f222a6b886
commit a82f07fc2e

View File

@ -678,7 +678,7 @@ print_log_self_test_status(const struct nvme_controller_data *cdata __unused,
if (dst->result[r].valid_diag_info & BIT(1)) {
memcpy(&failing_lba, dst->result[r].failing_lba,
sizeof(failing_lba));
printf(" FLBA=0x%lx", failing_lba);
printf(" FLBA=0x%jx", failing_lba);
}
if (dst->result[r].valid_diag_info & BIT(2))
printf(" SCT=0x%x", dst->result[r].status_code_type);