[syslinux] [PATCH] hdt: clear memtest_label

H. Peter Anvin hpa at zytor.com
Wed Apr 8 13:36:55 PDT 2009


Erwan, ACK?

	-hpa

Sebastian Herbszt wrote:
> Clear memtest_label in init_hardware().
> 
> - Sebastian
> 
> Index: syslinux-3.74-pre20/com32/hdt/hdt-common.c
> ===================================================================
> --- syslinux-3.74-pre20.orig/com32/hdt/hdt-common.c
> +++ syslinux-3.74-pre20/com32/hdt/hdt-common.c
> @@ -101,6 +101,7 @@ void init_hardware(struct s_hardware *ha
>    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");
> 
> _______________________________________________
> Syslinux mailing list
> Submissions to Syslinux at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
> 




More information about the Syslinux mailing list