liblog: logcat color output corrupted on 32-bit
sizeof(suffixBuf), not sizeof(suffixLen)! Change-Id: I6e085089237585bb8b406372639b644556747699
This commit is contained in:
parent
d426a4e7b6
commit
e2428429e0
1 changed files with 1 additions and 1 deletions
|
@ -824,7 +824,7 @@ char *android_log_formatLogLine (
|
|||
* set the length at the maximum (size minus null byte)
|
||||
*/
|
||||
prefixLen += MIN(len, sizeof(prefixBuf) - prefixLen);
|
||||
suffixLen = MIN(suffixLen, sizeof(suffixLen));
|
||||
suffixLen = MIN(suffixLen, sizeof(suffixBuf));
|
||||
|
||||
/* the following code is tragically unreadable */
|
||||
|
||||
|
|
Loading…
Reference in a new issue