2009-07-11 Bean <bean123ch@gmail.com>
* kern/ieee1275/openfw.c (grub_children_iterate): Fix size of childname.
This commit is contained in:
parent
0ae1bf88be
commit
75c59f59e7
2 changed files with 6 additions and 1 deletions
|
@ -86,7 +86,7 @@ grub_children_iterate (char *devpath,
|
|||
continue;
|
||||
|
||||
if (grub_ieee1275_get_property (child, "name", childname,
|
||||
IEEE1275_MAX_PATH_LEN, &actual))
|
||||
IEEE1275_MAX_PROP_LEN, &actual))
|
||||
continue;
|
||||
|
||||
grub_sprintf (fullname, "%s/%s", devpath, childname);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue