aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Herbszt <herbszt@gmx.de>2009-04-08 21:08:14 +0200
committerH. Peter Anvin <hpa@zytor.com>2009-04-08 16:21:37 -0700
commit0ee7a002e1b1274ef55d9ee056ad01c4f4021158 (patch)
treead945447b24782c1bf657cc5a4c48aa977bf92f8
parent8831801a61b87ed9a138d2155f26db6ce012cc41 (diff)
downloadsyslinux.git-0ee7a002e1b1274ef55d9ee056ad01c4f4021158.tar.gz
syslinux.git-0ee7a002e1b1274ef55d9ee056ad01c4f4021158.tar.xz
syslinux.git-0ee7a002e1b1274ef55d9ee056ad01c4f4021158.zip
hdt: clear memtest_labelsyslinux-3.74-pre21
Clear memtest_label in init_hardware().
-rw-r--r--com32/hdt/hdt-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/hdt/hdt-common.c b/com32/hdt/hdt-common.c
index 12dc22ac..6c2e1e4c 100644
--- a/com32/hdt/hdt-common.c
+++ b/com32/hdt/hdt-common.c
@@ -101,6 +101,7 @@ void init_hardware(struct s_hardware *hardware)
memset(hardware->pciids_path, 0, sizeof hardware->pciids_path);
memset(hardware->modules_pcimap_path, 0,
sizeof hardware->modules_pcimap_path);
+ memset(hardware->memtest_label, 0, sizeof hardware->memtest_label);
strcat(hardware->pciids_path, "pci.ids");
strcat(hardware->modules_pcimap_path, "modules.pcimap");
strcat(hardware->memtest_label, "memtest");