diff options
author | Sebastian Herbszt <herbszt@gmx.de> | 2009-04-08 21:08:14 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-04-08 16:21:37 -0700 |
commit | 0ee7a002e1b1274ef55d9ee056ad01c4f4021158 (patch) | |
tree | ad945447b24782c1bf657cc5a4c48aa977bf92f8 | |
parent | 8831801a61b87ed9a138d2155f26db6ce012cc41 (diff) | |
download | syslinux-3.74-pre21.tar.gz |
hdt: clear memtest_labelsyslinux-3.74-pre21
Clear memtest_label in init_hardware().
-rw-r--r-- | com32/hdt/hdt-common.c | 1 |
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"); |