* kern/ieee1275/openfw.c (grub_children_iterate): Fix string
pointer args to grub_ieee1275_get_property().
This commit is contained in:
parent
74bfdd2f77
commit
983598adde
2 changed files with 7 additions and 2 deletions
|
@ -78,7 +78,7 @@ grub_children_iterate (char *devpath,
|
|||
struct grub_ieee1275_devalias alias;
|
||||
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))
|
||||
continue;
|
||||
|
||||
|
@ -86,7 +86,7 @@ grub_children_iterate (char *devpath,
|
|||
&actual))
|
||||
continue;
|
||||
|
||||
if (grub_ieee1275_get_property (child, "name", &childname,
|
||||
if (grub_ieee1275_get_property (child, "name", childname,
|
||||
sizeof childname, &actual))
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue