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

repository service svn at openbios.org
Thu Apr 8 22:31:45 CEST 2010


Author: mcayland
Date: Thu Apr  8 23:31:44 2010
New Revision: 738
URL: http://tracker.coreboot.org/trac/openbios/changeset/738

Log:
Slight correct to r736 so that the number of getprop arguments is correctly displayed.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk>

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

Modified: trunk/openbios-devel/libopenbios/client.c
==============================================================================
--- trunk/openbios-devel/libopenbios/client.c	Thu Apr  8 23:22:39 2010	(r737)
+++ trunk/openbios-devel/libopenbios/client.c	Thu Apr  8 23:31:44 2010	(r738)
@@ -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[pb->nargs]);
+		printk("%ld\n", pb->args[3]);
 		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