diff --git a/src/node_stdio.cc b/src/node_stdio.cc index c601478d6c..1c790d1be9 100644 --- a/src/node_stdio.cc +++ b/src/node_stdio.cc @@ -295,7 +295,7 @@ void Stdio::Initialize(v8::Handle target) { NODE_SET_METHOD(target, "isStdinBlocking", IsStdinBlocking); NODE_SET_METHOD(target, "setRawMode", SetRawMode); NODE_SET_METHOD(target, "getWindowSize", GetWindowSize); - NODE_SET_METHOD(target, "setWindowSize", GetWindowSize); + NODE_SET_METHOD(target, "setWindowSize", SetWindowSize); NODE_SET_METHOD(target, "isatty", IsATTY); NODE_SET_METHOD(target, "openpty", OpenPTY);