]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-07-11 Bean <bean123ch@gmail.com>
authorbean <bean@localhost>
Sat, 11 Jul 2009 03:59:15 +0000 (03:59 +0000)
committerbean <bean@localhost>
Sat, 11 Jul 2009 03:59:15 +0000 (03:59 +0000)
* kern/ieee1275/openfw.c (grub_children_iterate): Fix size of
childname.

ChangeLog
kern/ieee1275/openfw.c

index 23c15d4c4edc0709592e18415fe80d508d9647a7..0b72b37be3a1dccc0ea57cfa25fb4c460c7fbb0e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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  Robert Millan  <rmh.grub@aybabtu.com>
 
index a952fe597de156c176956d2304b68a05c24eb2c7..20ef730e09bcd5bb4fff12c6094aa66af1450d20 100644 (file)
@@ -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);