hdt: Fix typo in vesa initialization
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Wed, 25 Mar 2009 15:53:51 +0000 (08:53 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Wed, 25 Mar 2009 15:53:51 +0000 (08:53 -0700)
Impact: Bug fixing.

This caused some garbage to be displayed when detecting vesa.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/hdt/hdt-common.c

index a2802f8..554ed3c 100644 (file)
@@ -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,