nvmecontrol: fix build on amd64/clang

Broken by:	329824
Sponsored by:	Spectra Logic Corp
This commit is contained in:
Alan Somers 2018-02-22 17:47:16 +00:00
parent 0127914caa
commit deeec7728b

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");