]> gitweb.factorcode.org Git - factor.git/commitdiff
vm: fix compile error on Linux if inotify is not available (reported by Alec Barryman)
authorSlava Pestov <slava@factorcode.org>
Sat, 31 Jul 2010 22:33:53 +0000 (18:33 -0400)
committerSlava Pestov <slava@factorcode.org>
Sat, 31 Jul 2010 22:33:53 +0000 (18:33 -0400)
vm/os-linux.cpp

index ffc5a6097a9c365c04a26e1d994652c55876449b..0bc7427331b1d5a1be2af34a5315f84e35ce7677 100644 (file)
@@ -45,19 +45,19 @@ VM_C_API int inotify_rm_watch(int fd, u32 wd)
 
 VM_C_API int inotify_init()
 {
-       parent->not_implemented_error();
+       current_vm()->not_implemented_error();
        return -1;
 }
 
 VM_C_API int inotify_add_watch(int fd, const char *name, u32 mask)
 {
-       parent->not_implemented_error();
+       current_vm()->not_implemented_error();
        return -1;
 }
 
 VM_C_API int inotify_rm_watch(int fd, u32 wd)
 {
-       parent->not_implemented_error();
+       current_vm()->not_implemented_error();
        return -1;
 }