nvmecontrol: fix build on amd64/clang
Broken by: 329824 Sponsored by: Spectra Logic Corp
This commit is contained in:
parent
f84320cfc8
commit
59acad2e43
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user