projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8831801
)
hdt: clear memtest_label
syslinux-3.74-pre21
author
Sebastian Herbszt
<herbszt@gmx.de>
Wed, 8 Apr 2009 19:08:14 +0000
(21:08 +0200)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 8 Apr 2009 23:21:37 +0000
(16:21 -0700)
Clear memtest_label in init_hardware().
com32/hdt/hdt-common.c
patch
|
blob
|
history
diff --git
a/com32/hdt/hdt-common.c
b/com32/hdt/hdt-common.c
index
12dc22a
..
6c2e1e4
100644
(file)
--- 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");