From 6effd2ec488cf346ebc5bf219fb7555ebfbfcc2f Mon Sep 17 00:00:00 2001 From: Burt P Date: Thu, 2 Jan 2020 13:41:05 -0600 Subject: storage: show PCI address for nvme Signed-off-by: Burt P --- modules/devices/storage.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/devices/storage.c') diff --git a/modules/devices/storage.c b/modules/devices/storage.c index aef282f5..4272430d 100644 --- a/modules/devices/storage.c +++ b/modules/devices/storage.c @@ -61,9 +61,11 @@ gchar *nvme_pci_sections(pcid *p) { gchar *pcie_str; if (p->pcie_width_curr) { pcie_str = g_strdup_printf("[%s]\n" + /* Addy */ "%s=PCI/%s\n" /* Width (max) */ "%s=x%u\n" /* Speed (max) */ "%s=%0.1f %s\n", _("PCI Express"), + _("Location"), p->slot_str, _("Maximum Link Width"), p->pcie_width_max, _("Maximum Link Speed"), p->pcie_speed_max, _("GT/s") ); } else -- cgit v1.2.3