From 0ee7a002e1b1274ef55d9ee056ad01c4f4021158 Mon Sep 17 00:00:00 2001 From: Sebastian Herbszt Date: Wed, 8 Apr 2009 21:08:14 +0200 Subject: [PATCH] hdt: clear memtest_label Clear memtest_label in init_hardware(). --- com32/hdt/hdt-common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/com32/hdt/hdt-common.c b/com32/hdt/hdt-common.c index 12dc22a..6c2e1e4 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"); -- 2.7.4