From 19d91695375b21bba897b19ac6eadeba04dce047 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Mon, 31 Jan 2011 22:00:13 +0100 Subject: [PATCH] hdt: Fixing ACPI initialisation The zeroification wasn't correct regarding the structure type. --- 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 537e104..eaeaff9 100644 --- a/com32/hdt/hdt-common.c +++ b/com32/hdt/hdt-common.c @@ -194,7 +194,7 @@ void init_hardware(struct s_hardware *hardware) memset(&hardware->pxe, 0, sizeof(struct s_pxe)); memset(&hardware->vesa, 0, sizeof(struct s_vesa)); memset(&hardware->vpd, 0, sizeof(s_vpd)); - memset(&hardware->acpi, 0, sizeof(s_vpd)); + memset(&hardware->acpi, 0, sizeof(s_acpi)); 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