aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-01-31 22:00:13 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-01-31 22:00:13 +0100
commit19d91695375b21bba897b19ac6eadeba04dce047 (patch)
tree78b6d4725e8810bedb0e1a3b8a55848930d25045 /com32/hdt
parent8035156094dbbc2dc596afc4bf0fea86806e7b8f (diff)
downloadsyslinux-19d91695375b21bba897b19ac6eadeba04dce047.tar.gz
syslinux-19d91695375b21bba897b19ac6eadeba04dce047.tar.xz
syslinux-19d91695375b21bba897b19ac6eadeba04dce047.zip
hdt: Fixing ACPI initialisation
The zeroification wasn't correct regarding the structure type.
Diffstat (limited to 'com32/hdt')
-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 537e1046..eaeaff95 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,