Merge "logd: notify kernel log readers of new messages"

am: 6a2686b0f3

Change-Id: Ie35d577147257b9fc571628ca069d5305b163fec
This commit is contained in:
Tom Cherry 2018-04-25 09:49:49 -07:00 committed by android-build-merger
commit 587297953e
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));
}