nvmecontrol: fix build on amd64/clang

Broken by:	329824
Sponsored by:	Spectra Logic Corp
This commit is contained in:
asomers 2018-02-22 17:47:16 +00:00
parent f84320cfc8
commit 59acad2e43

View File

@ -112,7 +112,7 @@ print_controller(struct nvme_controller_data *cdata)
if (cdata->mdts == 0)
printf("Unlimited\n");
else
printf("%ld\n", PAGE_SIZE * (1 << cdata->mdts));
printf("%d\n", PAGE_SIZE * (1 << cdata->mdts));
printf("Controller ID: 0x%02x\n", cdata->ctrlr_id);
printf("\n");