Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108326302
D34700.id112939.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
853 B
Referenced Files
None
Subscribers
None
D34700.id112939.diff
View Options
Index: sbin/nvmecontrol/identify_ext.c
===================================================================
--- sbin/nvmecontrol/identify_ext.c
+++ sbin/nvmecontrol/identify_ext.c
@@ -204,16 +204,9 @@
}
printf("Abort Command Limit: %d\n", cdata->acl+1);
printf("Async Event Request Limit: %d\n", cdata->aerl+1);
- printf("Number of Firmware Slots: ");
- if (fw != 0)
- printf("%d\n", fw_num_slots);
- else
- printf("N/A\n");
- printf("Firmware Slot 1 Read-Only: ");
- if (fw != 0)
- printf("%s\n", fw_slot1_ro ? "Yes" : "No");
- else
- printf("N/A\n");
+ printf("Number of Firmware Slots: %d\n", fw_num_slots);
+ printf("Firmware Slot 1 Read-Only: %s\n",
+ fw_slot1_ro ? "Yes" : "No");
printf("Per-Namespace SMART Log: %s\n",
ns_smart ? "Yes" : "No");
printf("Error Log Page Entries: %d\n", cdata->elpe+1);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 9:32 PM (8 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16096158
Default Alt Text
D34700.id112939.diff (853 B)
Attached To
Mode
D34700: nvmecontrol: Fix condition when print number of Firmware Slots and Firmware Slot1 Readonly.
Attached
Detach File
Event Timeline
Log In to Comment