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:
parent
f222a6b886
commit
a82f07fc2e
@ -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)) {
|
if (dst->result[r].valid_diag_info & BIT(1)) {
|
||||||
memcpy(&failing_lba, dst->result[r].failing_lba,
|
memcpy(&failing_lba, dst->result[r].failing_lba,
|
||||||
sizeof(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))
|
if (dst->result[r].valid_diag_info & BIT(2))
|
||||||
printf(" SCT=0x%x", dst->result[r].status_code_type);
|
printf(" SCT=0x%x", dst->result[r].status_code_type);
|
||||||
|
Loading…
Reference in New Issue
Block a user