Permalink
Browse files

child_process: fix order of args to errnoException()

  • Loading branch information...
1 parent a5c51b4 commit eba1f7b1a49ac095f891a8b8477e5f286a862280 @tshinnic tshinnic committed with bnoordhuis Nov 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/child_process.js
View
@@ -440,7 +440,7 @@ ChildProcess.prototype.spawn = function(options) {
this._internal.close();
this._internal = null;
- throw errnoException('spawn', errno);
+ throw errnoException(errno, 'spawn');
}
this.pid = this._internal.pid;

0 comments on commit eba1f7b

Please sign in to comment.