Return correct length from pmsgRead()
Bug: 28610769 Change-Id: I38cac786ca43ef8d9530f4e2e5a0bdd4cc3bccef
This commit is contained in:
parent
31701d6074
commit
9c2f803e9d
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue