Merge "logd: notify kernel log readers of new messages" am: 6a2686b0f3

am: 587297953e

Change-Id: Ic20fc2717b3e64111a664ae76b5837d8d45deda5
This commit is contained in:
Tom Cherry 2018-04-25 09:54:24 -07:00 committed by android-build-merger
commit f2244c4976
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}