summaryrefslogtreecommitdiff
path: root/src/node_os.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_os.cc')
-rw-r--r--src/node_os.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node_os.cc b/src/node_os.cc
index fa38040e3a..77693a47ec 100644
--- a/src/node_os.cc
+++ b/src/node_os.cc
@@ -446,7 +446,8 @@ static void GetPriority(const FunctionCallbackInfo<Value>& args) {
void Initialize(Local<Object> target,
Local<Value> unused,
- Local<Context> context) {
+ Local<Context> context,
+ void* priv) {
Environment* env = Environment::GetCurrent(context);
env->SetMethod(target, "getHostname", GetHostname);
env->SetMethod(target, "getLoadAvg", GetLoadAvg);