nvmecontrol: fix build on amd64/clang
Broken by: 329824 Sponsored by: Spectra Logic Corp
This commit is contained in:
parent
0127914caa
commit
deeec7728b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329830
@ -112,7 +112,7 @@ print_controller(struct nvme_controller_data *cdata)
|
|||||||
if (cdata->mdts == 0)
|
if (cdata->mdts == 0)
|
||||||
printf("Unlimited\n");
|
printf("Unlimited\n");
|
||||||
else
|
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("Controller ID: 0x%02x\n", cdata->ctrlr_id);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user