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

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


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@738 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Mark Cave-Ayland
2010-04-08 21:31:44 +00:00
committed by Mark Cave-Ayland
parent ce38a05886
commit b265b42d58

View File

@@ -170,7 +170,7 @@ static void dump_return(prom_args_t *pb)
} else if (strcmp(pb->service, "getproplen") == 0) { } else if (strcmp(pb->service, "getproplen") == 0) {
printk("0x%08lx\n", pb->args[pb->nargs]); printk("0x%08lx\n", pb->args[pb->nargs]);
} else if (strcmp(pb->service, "getprop") == 0) { } 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]); memdump((char*)pb->args[2], pb->args[3]);
} else if (strcmp(pb->service, "nextprop") == 0) { } else if (strcmp(pb->service, "nextprop") == 0) {
printk("%ld\n", pb->args[pb->nargs]); printk("%ld\n", pb->args[pb->nargs]);