diff options
author | Pierre-Alexandre Meyer <pierre@mouraf.org> | 2009-03-25 08:53:51 -0700 |
---|---|---|
committer | Erwan Velu <erwan.velu@free.fr> | 2009-03-26 18:28:05 +0100 |
commit | 40de74a05d9a5123c87ceeeccda2691fd5409608 (patch) | |
tree | 397e41a48c0fa879162a1dd23f886a9bbfd22524 /com32 | |
parent | 58f1cd5a3f42c663099015359a00135002b584e2 (diff) | |
download | syslinux-40de74a05d9a5123c87ceeeccda2691fd5409608.tar.gz |
hdt: Fix typo in vesa initialization
Impact: Bug fixing.
This caused some garbage to be displayed when detecting vesa.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32')
-rw-r--r-- | com32/hdt/hdt-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/hdt/hdt-common.c b/com32/hdt/hdt-common.c index 5fd1f36e..f6f82c7f 100644 --- a/com32/hdt/hdt-common.c +++ b/com32/hdt/hdt-common.c @@ -92,7 +92,7 @@ void init_hardware(struct s_hardware *hardware) memset(&hardware->dmi, 0, sizeof(s_dmi)); memset(&hardware->cpu, 0, sizeof(s_cpu)); memset(&hardware->pxe, 0, sizeof(struct s_pxe)); - memset(&hardware->vesa, 0, sizeof(struct s_pxe)); + memset(&hardware->vesa, 0, sizeof(struct s_vesa)); memset(hardware->syslinux_fs, 0, sizeof hardware->syslinux_fs); memset(hardware->pciids_path, 0, sizeof hardware->pciids_path); memset(hardware->modules_pcimap_path, 0, |