Merge "Return correct length from pmsgRead()"
This commit is contained in:
commit
fc2a8b2bd6
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ static int pmsgRead(struct android_log_logger_list *logger_list,
|
||||||
log_msg->entry_v4.uid = buf.p.uid;
|
log_msg->entry_v4.uid = buf.p.uid;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret + log_msg->entry_v4.hdr_size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue