Author: mcayland Date: Sat Mar 8 14:03:01 2014 New Revision: 1277 URL: http://tracker.coreboot.org/trac/openbios/changeset/1277
Log: 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
Modified: trunk/openbios-devel/libopenbios/client.c
Modified: trunk/openbios-devel/libopenbios/client.c ============================================================================== --- trunk/openbios-devel/libopenbios/client.c Sat Mar 8 02:00:11 2014 (r1276) +++ trunk/openbios-devel/libopenbios/client.c Sat Mar 8 14:03:01 2014 (r1277) @@ -189,7 +189,7 @@ 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) {