diff options
Diffstat (limited to 'com32/hdt/hdt-cli-kernel.c')
-rw-r--r-- | com32/hdt/hdt-cli-kernel.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/com32/hdt/hdt-cli-kernel.c b/com32/hdt/hdt-cli-kernel.c index d9ba27f8..41c80bea 100644 --- a/com32/hdt/hdt-cli-kernel.c +++ b/com32/hdt/hdt-cli-kernel.c @@ -50,8 +50,9 @@ void main_show_kernel(int argc __unused, char **argv __unused, // more_printf(" PCI device no: %d \n", p->pci_device_pos); - if (hardware->modules_pcimap_return_code == -ENOMODULESPCIMAP) { - more_printf(" modules.pcimap is missing\n"); + if ((hardware->modules_pcimap_return_code == -ENOMODULESPCIMAP) + && (hardware->modules_alias_return_code == -ENOMODULESALIAS)) { + more_printf(" modules.pcimap and modules.alias files are missing\n"); return; } |