Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146036502
D15653.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
544 B
Referenced Files
None
Subscribers
None
D15653.diff
View Options
Index: head/sbin/nvmecontrol/identify.c
===================================================================
--- head/sbin/nvmecontrol/identify.c
+++ head/sbin/nvmecontrol/identify.c
@@ -119,7 +119,7 @@
if (cdata->mdts == 0)
printf("Unlimited\n");
else
- printf("%d\n", PAGE_SIZE * (1 << cdata->mdts));
+ printf("%ld\n", PAGE_SIZE * (1L << cdata->mdts));
printf("Controller ID: 0x%02x\n", cdata->ctrlr_id);
printf("Version: %d.%d.%d\n",
(cdata->ver >> 16) & 0xffff, (cdata->ver >> 8) & 0xff,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 28, 6:18 AM (17 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29056149
Default Alt Text
D15653.diff (544 B)
Attached To
Mode
D15653: Print Maximum Data Transfer Size as a long rather than int
Attached
Detach File
Event Timeline
Log In to Comment