diff options
author | Erwan Velu <erwan.velu@free.fr> | 2009-03-27 22:03:24 +0100 |
---|---|---|
committer | Erwan Velu <erwan.velu@free.fr> | 2009-03-27 22:03:24 +0100 |
commit | fdc0486c5d47ca692c755b8a03550e42f5f14257 (patch) | |
tree | 1d22351eeb72d6401fa6bbb3171d4f3fdab4ee8d /com32/hdt/hdt-menu.c | |
parent | ee72d1d5f191e2462edfec1c3b9be741633744c6 (diff) | |
download | syslinux-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.c | 2 |
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); |