Skip to content

Commit

Permalink
doc: fix typo in fs writeSync param list
Browse files Browse the repository at this point in the history
Rename `buffer` to `data` in param list of
fs.writeSync(fd, data[, position[, encoding]])

PR-URL: nodejs#5984
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
firedfox authored and jasnell committed Apr 1, 2016
1 parent ec49fc8 commit d939152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/fs.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -1342,7 +1342,7 @@ The synchronous version of [`fs.writeFile()`][]. Returns `undefined`.
## fs.writeSync(fd, data[, position[, encoding]])

* `fd` {Integer}
* `buffer` {String | Buffer}
* `data` {String | Buffer}
* `position` {Integer}
* `encoding` {String}

Expand Down

0 comments on commit d939152

Please sign in to comment.