libfdtrack: When dump fdsan fd owner, happen NE
When dump fdsan fd owner, happen NE. This because the format specifier flag '#' is not supported by Bionic out_vformat<BufferOutputStream>. Bug: 153611483 Test: jmgao@ verified manually Change-Id: I7191c3b2b621ddcc0397874f8a69391e58232ac8
This commit is contained in:
parent
eee26de4dc
commit
3a5ddd72c3
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ void fdtrack_dump() {
|
||||||
void*) {
|
void*) {
|
||||||
uint64_t fdsan_owner = android_fdsan_get_owner_tag(fd);
|
uint64_t fdsan_owner = android_fdsan_get_owner_tag(fd);
|
||||||
if (fdsan_owner != 0) {
|
if (fdsan_owner != 0) {
|
||||||
async_safe_format_log(ANDROID_LOG_INFO, "fdtrack", "fd %d: (owner = %#" PRIx64 ")", fd,
|
async_safe_format_log(ANDROID_LOG_INFO, "fdtrack", "fd %d: (owner = 0x%" PRIx64 ")", fd,
|
||||||
fdsan_owner);
|
fdsan_owner);
|
||||||
} else {
|
} else {
|
||||||
async_safe_format_log(ANDROID_LOG_INFO, "fdtrack", "fd %d: (unowned)", fd);
|
async_safe_format_log(ANDROID_LOG_INFO, "fdtrack", "fd %d: (unowned)", fd);
|
||||||
|
|
Loading…
Reference in a new issue