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

Commit 518f88a3 authored by Rubin Xu's avatar Rubin Xu Committed by android-build-merger
Browse files

Return correct length from pmsgRead()

am: 08660a81

* commit '08660a81':
  Return correct length from pmsgRead()

Change-Id: I8c1d910d1e8abb5d8cc7902ccadaa71ad5aed113
parents c484862b 08660a81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -227,7 +227,7 @@ static int pmsgRead(struct android_log_logger_list *logger_list,
                    log_msg->entry_v4.uid = buf.p.uid;
                }

                return ret;
                return ret + log_msg->entry_v4.hdr_size;
            }
        }