update fs_event_wrap.cc to work with new uv_fs_event_init api

pull/22966/head
Igor Zinkovsky 2011-11-04 18:04:52 -07:00
parent 6545a6dc5d
commit 1a9286c6e9
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ Handle<Value> FSEventWrap::Start(const Arguments& args) {
String::Utf8Value path(args[0]->ToString());
int r = uv_fs_event_init(uv_default_loop(), &wrap->handle_, *path, OnEvent);
int r = uv_fs_event_init(uv_default_loop(), &wrap->handle_, *path, OnEvent, 0);
if (r == 0) {
// Check for persistent argument
if (!args[1]->IsTrue()) {