aboutsummaryrefslogtreecommitdiff
path: root/modules/devices/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/devices/pci.c')
-rw-r--r--modules/devices/pci.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/devices/pci.c b/modules/devices/pci.c
index 332ea448..e068ef05 100644
--- a/modules/devices/pci.c
+++ b/modules/devices/pci.c
@@ -154,9 +154,12 @@ void scan_pci_do(void) {
}
pcid_list_free(list);
- return;
}
- /* NO PCI? */
- pci_list = g_strconcat(pci_list, _("No PCI devices found"), "=\n", NULL);
+ if (c)
+ pci_list = g_strconcat(pci_list, "[$ShellParam$]\n", "ViewType=1\n", NULL);
+ else {
+ /* NO PCI? */
+ pci_list = g_strconcat(pci_list, _("No PCI devices found"), "=\n", NULL);
+ }
}