From ec0eacfcfc057a33f982a7332606f9065a574543 Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Sat, 8 Mar 2014 13:03:01 +0000 Subject: [PATCH] client.c: fixup display of nextprop return buffer when debugging is enabled Make sure that we display the entire 32-byte buffer result buffer when nextprop returns. Based upon a test patch sent to the mailing list by Olivier Danet. Signed-off-by: Mark Cave-Ayland git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@1277 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 8c2813b..8b3d582 100644 --- a/libopenbios/client.c +++ b/libopenbios/client.c @@ -189,7 +189,7 @@ static void dump_return(prom_args_t *pb) memdump(arg2pointer(pb->args[2]), MIN(pb->args[3], pb->args[pb->nargs])); } else if (strcmp(service, "nextprop") == 0) { printk(FMT_prom_arg "\n", pb->args[pb->nargs]); - memdump(arg2pointer(pb->args[2]), pb->args[pb->nargs]); + memdump(arg2pointer(pb->args[2]), 32); } else if (strcmp(service, "setprop") == 0) { printk(FMT_prom_arg "\n", pb->args[pb->nargs]); } else if (strcmp(service, "canon") == 0) {