am 96fd4159: am 1ee18d0e: Merge "Send bionic\'s fatal logging to the crash log."
* commit '96fd4159ecf2a9416f13ab215b662eba971e6d8c': Send bionic's fatal logging to the crash log.
This commit is contained in:
commit
64b539533d
@ -495,7 +495,7 @@ static int __libc_write_log(int priority, const char* tag, const char* msg) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
iovec vec[6];
|
iovec vec[6];
|
||||||
char log_id = LOG_ID_MAIN;
|
char log_id = (priority == ANDROID_LOG_FATAL) ? LOG_ID_CRASH : LOG_ID_MAIN;
|
||||||
vec[0].iov_base = &log_id;
|
vec[0].iov_base = &log_id;
|
||||||
vec[0].iov_len = sizeof(log_id);
|
vec[0].iov_len = sizeof(log_id);
|
||||||
uint16_t tid = gettid();
|
uint16_t tid = gettid();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user