summaryrefslogtreecommitdiff
path: root/src/spawn_sync.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/spawn_sync.cc')
-rw-r--r--src/spawn_sync.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/spawn_sync.cc b/src/spawn_sync.cc
index 21e2b2ffb3..4aad9d8a14 100644
--- a/src/spawn_sync.cc
+++ b/src/spawn_sync.cc
@@ -365,7 +365,8 @@ void SyncProcessStdioPipe::CloseCallback(uv_handle_t* handle) {
void SyncProcessRunner::Initialize(Local<Object> target,
Local<Value> unused,
- Local<Context> context) {
+ Local<Context> context,
+ void* priv) {
Environment* env = Environment::GetCurrent(context);
env->SetMethod(target, "spawn", Spawn);
}