summaryrefslogtreecommitdiff
path: root/com32/hdt/hdt-menu.c
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-03-27 22:03:24 +0100
committerErwan Velu <erwan.velu@free.fr>2009-03-27 22:03:24 +0100
commitfdc0486c5d47ca692c755b8a03550e42f5f14257 (patch)
tree1d22351eeb72d6401fa6bbb3171d4f3fdab4ee8d /com32/hdt/hdt-menu.c
parentee72d1d5f191e2462edfec1c3b9be741633744c6 (diff)
downloadsyslinux-fdc0486c5d47ca692c755b8a03550e42f5f14257.tar.gz
hdt: prevent unless disk's menu
Impact: none No need to compute disk's menu if no disk are detected
Diffstat (limited to 'com32/hdt/hdt-menu.c')
-rw-r--r--com32/hdt/hdt-menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/hdt/hdt-menu.c b/com32/hdt/hdt-menu.c
index 224974e0..a865e672 100644
--- a/com32/hdt/hdt-menu.c
+++ b/com32/hdt/hdt-menu.c
@@ -153,7 +153,7 @@ void compute_submenus(struct s_hdt_menu *hdt_menu, struct s_hardware *hardware)
}
compute_processor(&(hdt_menu->cpu_menu), hardware);
- compute_disks(hdt_menu, hardware->disk_info);
+ compute_disks(hdt_menu, hardware->disk_info, hardware);
#ifdef WITH_PCI
compute_PCI(hdt_menu, hardware);