Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
child_process: fix order of args to errnoException()
  • Loading branch information
tshinnic authored and bnoordhuis committed Nov 28, 2011
1 parent a5c51b4 commit eba1f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/child_process.js
Expand Up @@ -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;
Expand Down

0 comments on commit eba1f7b

Please sign in to comment.