Merge "Return correct length from pmsgRead()"

This commit is contained in:
Treehugger Robot 2016-05-09 15:22:43 +00:00 committed by Gerrit Code Review
commit fc2a8b2bd6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}