| Index: runtime/vm/proccpuinfo.cc
|
| diff --git a/runtime/vm/proccpuinfo.cc b/runtime/vm/proccpuinfo.cc
|
| index 94e8db67e7bca30af8e349e618d85711bbcb7e64..dd8416fd4c7f380d8f3ce65eb003dba49cb43b88 100644
|
| --- a/runtime/vm/proccpuinfo.cc
|
| +++ b/runtime/vm/proccpuinfo.cc
|
| @@ -7,7 +7,7 @@
|
|
|
| #include "vm/proccpuinfo.h"
|
|
|
| -#include <ctype.h> // NOLINT
|
| +#include <ctype.h> // NOLINT
|
| #include <string.h> // NOLINT
|
|
|
| #include "platform/assert.h"
|
| @@ -41,7 +41,7 @@ void ProcCpuInfo::InitOnce() {
|
| data_ = reinterpret_cast<char*>(malloc(datalen_ + 1));
|
| fp = fopen(PATHNAME, "r");
|
| if (fp != NULL) {
|
| - for (intptr_t offset = 0; offset < datalen_; ) {
|
| + for (intptr_t offset = 0; offset < datalen_;) {
|
| size_t n = fread(data_ + offset, 1, datalen_ - offset, fp);
|
| if (n == 0) {
|
| break;
|
|
|