0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

doc: fix typo in fs writeSync param list

Rename `buffer` to `data` in param list of
fs.writeSync(fd, data[, position[, encoding]])

PR-URL: https://github.com/nodejs/node/pull/5984
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
firedfox 2016-04-01 09:18:41 +08:00 committed by James M Snell
parent ec49fc8229
commit d939152230

View File

@ -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}