[syslinux:master] hdt: Fixing ACPI initialisation
syslinux-bot for Erwan Velu
erwanaliasr1 at gmail.com
Sun Feb 6 14:07:54 PST 2011
Commit-ID: 19d91695375b21bba897b19ac6eadeba04dce047
Gitweb: http://syslinux.zytor.com/commit/19d91695375b21bba897b19ac6eadeba04dce047
Author: Erwan Velu <erwanaliasr1 at gmail.com>
AuthorDate: Mon, 31 Jan 2011 22:00:13 +0100
Committer: Erwan Velu <erwanaliasr1 at gmail.com>
CommitDate: Mon, 31 Jan 2011 22:00:13 +0100
hdt: Fixing ACPI initialisation
The zeroification wasn't correct regarding the structure type.
---
com32/hdt/hdt-common.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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,
More information about the Syslinux-commits
mailing list