[2186] * kern/ieee1275/openfw.c (grub_children_iterate): Fix string

"David S. Miller" <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2186
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2186
Author:   davem
Date:     2009-05-04 22:46:55 +0000 (Mon, 04 May 2009)
Log Message:
-----------
	* kern/ieee1275/openfw.c (grub_children_iterate): Fix string
	pointer args to grub_ieee1275_get_property().

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/kern/ieee1275/openfw.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-05-04 20:21:33 UTC (rev 2185)
+++ trunk/grub2/ChangeLog	2009-05-04 22:46:55 UTC (rev 2186)
@@ -1,3 +1,8 @@
+2009-05-04  David S. Miller  <[email protected]>
+
+	* kern/ieee1275/openfw.c (grub_children_iterate): Fix string
+	pointer args to grub_ieee1275_get_property().
+
 2009-05-04  Robert Millan  <[email protected]>
 
 	* include/grub/i386/linux.h (GRUB_LINUX_VID_MODE_VESA_START): Set

Modified: trunk/grub2/kern/ieee1275/openfw.c
===================================================================
--- trunk/grub2/kern/ieee1275/openfw.c	2009-05-04 20:21:33 UTC (rev 2185)
+++ trunk/grub2/kern/ieee1275/openfw.c	2009-05-04 22:46:55 UTC (rev 2186)
@@ -78,7 +78,7 @@
       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 @@
 					 &actual))
 	continue;
 
-      if (grub_ieee1275_get_property (child, "name", &childname,
+      if (grub_ieee1275_get_property (child, "name", childname,
 				      sizeof childname, &actual))
 	continue;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.