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 <mark.cave-ayland@ilande.co.uk>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@1277 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Mark Cave-Ayland 2014-03-08 13:03:01 +00:00
parent f4000dadbf
commit ec0eacfcfc
1 changed files with 1 additions and 1 deletions

View File

@ -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) {