Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2244c49 authored by Tom Cherry's avatar Tom Cherry Committed by android-build-merger
Browse files

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

am: 58729795

Change-Id: Ic20fc2717b3e64111a664ae76b5837d8d45deda5
parents c3177b00 58729795
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -825,7 +825,7 @@ int LogKlog::log(const char* buf, ssize_t len) {
                         (unsigned short)n);
                         (unsigned short)n);


    // notify readers
    // notify readers
    if (!rc) {
    if (rc > 0) {
        reader->notifyNewLog(static_cast<log_mask_t>(1 << LOG_ID_KERNEL));
        reader->notifyNewLog(static_cast<log_mask_t>(1 << LOG_ID_KERNEL));
    }
    }