update fs_event_wrap.cc to work with new uv_fs_event_init api
authorIgor Zinkovsky <igorzi@microsoft.com>
Sat, 5 Nov 2011 01:04:52 +0000 (18:04 -0700)
committerIgor Zinkovsky <igorzi@microsoft.com>
Sat, 5 Nov 2011 01:04:52 +0000 (18:04 -0700)
src/fs_event_wrap.cc

index 6fdc9a36a359f39b016e7d85c2edb7664c5d46ac..d21c994cb9a47d572f31315388cb77226aed2d4e 100644 (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()) {