aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-03-25 08:53:51 -0700
committerErwan Velu <erwan.velu@free.fr>2009-03-25 18:43:53 +0100
commitf467358a61bdb6cc4cc7b55d46ff3b58fa7dac1a (patch)
tree839b28f76e0b7207877af0560deed8fc8962a1d5
parent3dd64df47c98355a94c6474e263080d354f07d25 (diff)
downloadsyslinux.git-f467358a61bdb6cc4cc7b55d46ff3b58fa7dac1a.tar.gz
syslinux.git-f467358a61bdb6cc4cc7b55d46ff3b58fa7dac1a.tar.xz
syslinux.git-f467358a61bdb6cc4cc7b55d46ff3b58fa7dac1a.zip
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>
-rw-r--r--com32/hdt/hdt-common.c2
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,