process.kill doesn't create error obj correctly

This commit is contained in:
Ryan Dahl 2011-11-08 16:58:32 -08:00
parent 05727f6e3e
commit 2a462abf5f

View File

@ -349,7 +349,7 @@
} }
if (r) { if (r) {
throw errnoException('kill', errno); throw errnoException(errno, 'kill');
} }
}; };
}; };