diff --git a/lib/binding.js b/lib/binding.js index 6801f95..a51b578 100644 --- a/lib/binding.js +++ b/lib/binding.js @@ -150,7 +150,7 @@ function Binding(system) { * Counter for file descriptors. * @type {number} */ - this._counter = -1; + this._counter = 0; const stdin = new FileDescriptor(constants.O_RDWR); stdin.setItem(new File.StandardInput());