* kern/ieee1275/openfw.c (grub_children_iterate): Fix string

pointer args to grub_ieee1275_get_property().
This commit is contained in:
davem 2009-05-04 22:46:55 +00:00
parent 74bfdd2f77
commit 983598adde
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2009-05-04 David S. Miller <davem@davemloft.net>
* kern/ieee1275/openfw.c (grub_children_iterate): Fix string
pointer args to grub_ieee1275_get_property().
2009-05-04 Robert Millan <rmh.grub@aybabtu.com> 2009-05-04 Robert Millan <rmh.grub@aybabtu.com>
* include/grub/i386/linux.h (GRUB_LINUX_VID_MODE_VESA_START): Set * include/grub/i386/linux.h (GRUB_LINUX_VID_MODE_VESA_START): Set

View file

@ -78,7 +78,7 @@ grub_children_iterate (char *devpath,
struct grub_ieee1275_devalias alias; struct grub_ieee1275_devalias alias;
grub_ssize_t actual; grub_ssize_t actual;
if (grub_ieee1275_get_property (child, "device_type", &childtype, if (grub_ieee1275_get_property (child, "device_type", childtype,
sizeof childtype, &actual)) sizeof childtype, &actual))
continue; continue;
@ -86,7 +86,7 @@ grub_children_iterate (char *devpath,
&actual)) &actual))
continue; continue;
if (grub_ieee1275_get_property (child, "name", &childname, if (grub_ieee1275_get_property (child, "name", childname,
sizeof childname, &actual)) sizeof childname, &actual))
continue; continue;