commit | 4a3c3ea979f8ab7a2fd38a39f98352c024140713 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Mon May 09 15:22:43 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon May 09 15:22:43 2016 +0000 |
tree | 058d6579c2a74fa1918e463548c434c52f5e36a6 | |
parent | 01b855581c88905b4175ba6f5aa907794595c20e [diff] | |
parent | cf570a69d964de60136d883387b8b6a4975bbdbe [diff] |
Merge "Return correct length from pmsgRead()"
diff --git a/liblog/pmsg_reader.c b/liblog/pmsg_reader.c index f5e91c8..2e4fc5d 100644 --- a/liblog/pmsg_reader.c +++ b/liblog/pmsg_reader.c
@@ -227,7 +227,7 @@ log_msg->entry_v4.uid = buf.p.uid; } - return ret; + return ret + log_msg->entry_v4.hdr_size; } }