Page MenuHomeFreeBSD

D34700.id112939.diff
No OneTemporary

D34700.id112939.diff

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

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)

Event Timeline