mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix getprop return value trace
Don't trace the buffer length in place of the property size. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@889 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Blue Swirl
parent
a5cba745e5
commit
47803b04da
@@ -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[3]);
|
printk("%ld\n", pb->args[pb->nargs]);
|
||||||
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]);
|
||||||
|
|||||||
Reference in New Issue
Block a user