Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api/stream.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md
index c545b28236d..cd1687aaef6 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -2316,7 +2316,7 @@ class ReadStream extends Readable {
this.fd = null;
}
_construct(callback) {
- fs.open(this.filename, (fd, err) => {
+ fs.open(this.filename, (err, fd) => {
if (err) {
callback(err);
} else {