2009-07-11 Bean <bean123ch@gmail.com>

* kern/ieee1275/openfw.c (grub_children_iterate): Fix size of
	childname.
This commit is contained in:
bean 2009-07-11 03:59:15 +00:00
parent 0ae1bf88be
commit 75c59f59e7
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-07-11 Bean <bean123ch@gmail.com>
* kern/ieee1275/openfw.c (grub_children_iterate): Fix size of
childname.
2009-07-10 Bean <bean123ch@gmail.com> 2009-07-10 Bean <bean123ch@gmail.com>
2009-07-10 Robert Millan <rmh.grub@aybabtu.com> 2009-07-10 Robert Millan <rmh.grub@aybabtu.com>

View file

@ -86,7 +86,7 @@ grub_children_iterate (char *devpath,
continue; continue;
if (grub_ieee1275_get_property (child, "name", childname, if (grub_ieee1275_get_property (child, "name", childname,
IEEE1275_MAX_PATH_LEN, &actual)) IEEE1275_MAX_PROP_LEN, &actual))
continue; continue;
grub_sprintf (fullname, "%s/%s", devpath, childname); grub_sprintf (fullname, "%s/%s", devpath, childname);