diff --git a/lib/fs.js b/lib/fs.js index ee918b49aa0..137b95ff0a9 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -1403,7 +1403,7 @@ function ReadStream(path, options) { this.mode = options.hasOwnProperty('mode') ? options.mode : 438; /*=0666*/ this.start = options.hasOwnProperty('start') ? options.start : undefined; - this.end = options.hasOwnProperty('start') ? options.end : undefined; + this.end = options.hasOwnProperty('end') ? options.end : undefined; this.autoClose = options.hasOwnProperty('autoClose') ? options.autoClose : true; this.pos = undefined;