From 1a9286c6e9e5247110ddbf16684e713a1545cefa Mon Sep 17 00:00:00 2001 From: Igor Zinkovsky Date: Fri, 4 Nov 2011 18:04:52 -0700 Subject: [PATCH] update fs_event_wrap.cc to work with new uv_fs_event_init api --- src/fs_event_wrap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc index 6fdc9a36a35..d21c994cb9a 100644 --- a/src/fs_event_wrap.cc +++ b/src/fs_event_wrap.cc @@ -105,7 +105,7 @@ Handle 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()) {