Merge "logd: notify kernel log readers of new messages"
This commit is contained in:
commit
6a2686b0f3
|
@ -825,7 +825,7 @@ int LogKlog::log(const char* buf, ssize_t len) {
|
|||
(unsigned short)n);
|
||||
|
||||
// notify readers
|
||||
if (!rc) {
|
||||
if (rc > 0) {
|
||||
reader->notifyNewLog(static_cast<log_mask_t>(1 << LOG_ID_KERNEL));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue