From 22100915a26b8aab73acc90798f06a6f9e88eaed Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sat, 31 Jul 2010 18:33:53 -0400 Subject: [PATCH] vm: fix compile error on Linux if inotify is not available (reported by Alec Barryman) --- vm/os-linux.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vm/os-linux.cpp b/vm/os-linux.cpp index ffc5a6097a..0bc7427331 100644 --- a/vm/os-linux.cpp +++ b/vm/os-linux.cpp @@ -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; }