[OpenBIOS] [commit] r889 - trunk/openbios-devel/libopenbios

repository service svn at openbios.org
Sat Oct 9 12:16:20 CEST 2010


Author: blueswirl
Date: Sat Oct  9 12:16:19 2010
New Revision: 889
URL: http://tracker.coreboot.org/trac/openbios/changeset/889

Log:
Fix getprop return value trace

Don't trace the buffer length in place of the property size.

Signed-off-by: Andreas Färber <andreas.faerber at web.de>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>

Modified:
   trunk/openbios-devel/libopenbios/client.c

Modified: trunk/openbios-devel/libopenbios/client.c
==============================================================================
--- trunk/openbios-devel/libopenbios/client.c	Sat Oct  9 10:27:09 2010	(r888)
+++ trunk/openbios-devel/libopenbios/client.c	Sat Oct  9 12:16:19 2010	(r889)
@@ -170,7 +170,7 @@
 	} else if (strcmp(pb->service, "getproplen") == 0) {
 		printk("0x%08lx\n", pb->args[pb->nargs]);
 	} else if (strcmp(pb->service, "getprop") == 0) {
-		printk("%ld\n", pb->args[3]);
+		printk("%ld\n", pb->args[pb->nargs]);
 		memdump((char*)pb->args[2], pb->args[3]);
 	} else if (strcmp(pb->service, "nextprop") == 0) {
 		printk("%ld\n", pb->args[pb->nargs]);



More information about the OpenBIOS mailing list