Merge "liblog: logcat color output corrupted on 32-bit"

This commit is contained in:
Mark Salyzyn 2015-01-22 18:12:13 +00:00 committed by Gerrit Code Review
commit 045be135de
1 changed files with 1 additions and 1 deletions

View File

@ -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 */