| Index: runtime/bin/file_system_watcher_android.cc
|
| diff --git a/runtime/bin/file_system_watcher_android.cc b/runtime/bin/file_system_watcher_android.cc
|
| index 6843734d7ce6a1880e32258688a45b542cf38a19..0cecfe279df3cb276be3e73763148774388ce5be 100644
|
| --- a/runtime/bin/file_system_watcher_android.cc
|
| +++ b/runtime/bin/file_system_watcher_android.cc
|
| @@ -9,7 +9,7 @@
|
|
|
| #include "bin/file_system_watcher.h"
|
|
|
| -#include <errno.h> // NOLINT
|
| +#include <errno.h> // NOLINT
|
| #include <sys/inotify.h> // NOLINT
|
|
|
| #include "bin/fdutils.h"
|
| @@ -127,7 +127,8 @@ Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id, intptr_t path_id) {
|
| Dart_ListSetAt(event, 1, Dart_NewInteger(e->cookie));
|
| if (e->len > 0) {
|
| Dart_ListSetAt(event, 2, Dart_NewStringFromUTF8(
|
| - reinterpret_cast<uint8_t*>(e->name), strlen(e->name)));
|
| + reinterpret_cast<uint8_t*>(e->name),
|
| + strlen(e->name)));
|
| } else {
|
| Dart_ListSetAt(event, 2, Dart_Null());
|
| }
|
|
|