commit | 045be135de5acee7a2d0fd7e303dc15ded2d69fa | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Thu Jan 22 18:12:13 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jan 22 18:12:14 2015 +0000 |
tree | c4277e9a9eba140dae612b9a6c0c2126d396175c | |
parent | d426a4e7b62c18124827868ddbf8987aa433451b [diff] | |
parent | e2428429e046dbe7ed8794e32bccdb34fa3bfde3 [diff] |
Merge "liblog: logcat color output corrupted on 32-bit"
diff --git a/liblog/logprint.c b/liblog/logprint.c index 5987782..7ba4c8e 100644 --- a/liblog/logprint.c +++ b/liblog/logprint.c
@@ -824,7 +824,7 @@ * 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 */