]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* kern/ieee1275/openfw.c (grub_children_iterate): Fix string
authordavem <davem@localhost>
Mon, 4 May 2009 22:46:55 +0000 (22:46 +0000)
committerdavem <davem@localhost>
Mon, 4 May 2009 22:46:55 +0000 (22:46 +0000)
pointer args to grub_ieee1275_get_property().

ChangeLog
kern/ieee1275/openfw.c

index 6bc5f305c1b46e280d1feaa09d8548c79de26541..e95759f0c2a3ecc2481a45768d86584e59a6e2fc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * include/grub/i386/linux.h (GRUB_LINUX_VID_MODE_VESA_START): Set
index e71256de2aba2bfb8e6ce9f2c31821d3a20e959c..aff410dbf3415ca6176835db772a4426e5f08810 100644 (file)
@@ -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;