nvme-cli: fix compilation error
PATCH v2 1/1 nvme-cli: fix compilation error
Signed-off-by Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
---
Changes since V1:-
1. Use typecast instead of changing the format specifier.
--- nvme-print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
nvme-print.c +1 -1
@@ -1338,7 +1338,7 @@ void show_self_test_log(struct nvme_self_test_log *self_test, const char *devnam temp = self_test->result[i].valid_diagnostic_info;printf (" Valid Diagnostic Information : %#x\n" , temp);printf (" Power on hours (POH) : %#" PRIx64"\n" , -le64_to_cpu (self_test->result[i].power_on_hours)); + (uint64_t )le64_to_cpu (self_test->result[i].power_on_hours));if (temp &NVME_SELF_TEST_VALID_NSID ) printf(" Namespace Identifier : %#x\n",
Signature · 1 line
2.17.0
Keith Busch
AppliedPATCH v2 1/1 nvme-cli: fix compilation error
Applied, thank you!