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; }