Fix debug malloc for LP64.

Change-Id: I5de2097b6589c0d6750b2a3bc3cbb06227de6d5f
This commit is contained in:
Elliott Hughes 2014-04-01 13:48:30 -07:00
parent f42df8c1ac
commit 64b2963224

View File

@ -379,7 +379,7 @@ static void malloc_init_impl() {
if (gMallocDebugBacklog == 0) {
gMallocDebugBacklog = BACKLOG_DEFAULT_LEN;
}
so_name = "/system/lib/libc_malloc_debug_leak.so";
so_name = "libc_malloc_debug_leak.so";
break;
}
case 20:
@ -395,7 +395,7 @@ static void malloc_init_impl() {
__progname);
return;
}
so_name = "/system/lib/libc_malloc_debug_qemu.so";
so_name = "libc_malloc_debug_qemu.so";
break;
default:
error_log("%s: Debug level %d is unknown\n", __progname, gMallocDebugLevel);