Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/uv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/uv.cc')
-rw-r--r--src/uv.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uv.cc b/src/uv.cc
index 1481f73e661..54bbf92f12c 100644
--- a/src/uv.cc
+++ b/src/uv.cc
@@ -54,10 +54,10 @@ void Initialize(Handle<Object> target,
Handle<Context> context) {
Environment* env = Environment::GetCurrent(context);
target->Set(FIXED_ONE_BYTE_STRING(env->isolate(), "errname"),
- FunctionTemplate::New(ErrName)->GetFunction());
+ FunctionTemplate::New(env->isolate(), ErrName)->GetFunction());
#define V(name, _) \
target->Set(FIXED_ONE_BYTE_STRING(env->isolate(), "UV_" # name), \
- Integer::New(UV_ ## name, env->isolate()));
+ Integer::New(env->isolate(), UV_ ## name));
UV_ERRNO_MAP(V)
#undef V
}