From b265b42d58816c5f64dab342de3a64607a22dd3e Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Thu, 8 Apr 2010 21:31:44 +0000 Subject: [PATCH] Slight correct to r736 so that the number of getprop arguments is correctly displayed. Signed-off-by: Mark Cave-Ayland git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@738 f158a5a8-5612-0410-a976-696ce0be7e32 --- libopenbios/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libopenbios/client.c b/libopenbios/client.c index af65f23..3e06b92 100644 --- a/libopenbios/client.c +++ b/libopenbios/client.c @@ -170,7 +170,7 @@ static void dump_return(prom_args_t *pb) } 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]);