diff options
Diffstat (limited to 'com32/hdt/hdt-menu.c')
-rw-r--r-- | com32/hdt/hdt-menu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/com32/hdt/hdt-menu.c b/com32/hdt/hdt-menu.c index 18158ae3..c37fd41b 100644 --- a/com32/hdt/hdt-menu.c +++ b/com32/hdt/hdt-menu.c @@ -195,8 +195,7 @@ void compute_main_menu(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware) } if (hdt_menu->memory_menu.items_count > 0) { - snprintf(menu_item, sizeof(menu_item), "<M>emory (%2d)\n", - hdt_menu->memory_menu.items_count); + snprintf(menu_item, sizeof(menu_item), "<M>emory\n"); add_item(menu_item, "Memory Menu", OPT_SUBMENU, NULL, hdt_menu->memory_menu.menu); hdt_menu->main_menu.items_count++; @@ -244,7 +243,7 @@ void compute_main_menu(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware) } if (hardware->is_vpd_valid == true) { - add_item("VPD","VPD Information Menu", OPT_SUBMENU, NULL, + add_item("<V>PD","VPD Information Menu", OPT_SUBMENU, NULL, hdt_menu->vpd_menu.menu); hdt_menu->main_menu.items_count++; } @@ -263,7 +262,8 @@ void compute_main_menu(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware) add_item("", "", OPT_SEP, "", 0); #ifdef WITH_PCI - if (hardware->modules_pcimap_return_code != -ENOMODULESPCIMAP) { + if ((hardware->modules_pcimap_return_code != -ENOMODULESPCIMAP) || + (hardware->modules_alias_return_code != -ENOMODULESALIAS)) { add_item("<K>ernel Modules", "Kernel Modules Menu", OPT_SUBMENU, NULL, hdt_menu->kernel_menu.menu); hdt_menu->main_menu.items_count++; |