From cdf626e4b90beadfbb6fa617b0cf7bed488b334d Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Meyer Date: Wed, 25 Mar 2009 08:53:51 -0700 Subject: [PATCH] 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 --- com32/hdt/hdt-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com32/hdt/hdt-common.c b/com32/hdt/hdt-common.c index a2802f8..554ed3c 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, -- 2.7.4