Skip to content
Snippets Groups Projects
Commit c16a123f authored by Heiko Schocher's avatar Heiko Schocher Committed by Wolfgang Denk
Browse files

command, log: print with "log show" a full logbuffer


If the logbuffer contains LOGBUFF_LEN chars, they never got
printed with the "log show" command, because chars get
printed with the following for loop:

for (i = 0; i < (size & LOGBUFF_MASK); i++) {

with size = LOGBUFF_LEN and LOGBUFF_MASK = (LOGBUFF_LEN-1)
for loop never executed ...

Fix this.

Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
Acked-by: default avatarDetlev Zundel <dzu@denx.de>

Fixed merge conflict.
Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent dc3faf09
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment