From 2a462abf5fe196342d9fa4db48212e87f74aae7e Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 8 Nov 2011 16:58:32 -0800 Subject: [PATCH] process.kill doesn't create error obj correctly --- src/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.js b/src/node.js index a6788b380f1..04513fadbdf 100644 --- a/src/node.js +++ b/src/node.js @@ -349,7 +349,7 @@ } if (r) { - throw errnoException('kill', errno); + throw errnoException(errno, 'kill'); } }; };