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

Commit 9c2f803e authored by Rubin Xu's avatar Rubin Xu
Browse files

Return correct length from pmsgRead()

Bug: 28610769
Change-Id: I38cac786ca43ef8d9530f4e2e5a0bdd4cc3bccef
parent 31701d60
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;
            }
        }