From d9391522309ce35eb469795f948feb8d217c9269 Mon Sep 17 00:00:00 2001 From: firedfox Date: Fri, 1 Apr 2016 09:18:41 +0800 Subject: [PATCH] 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 Reviewed-By: James M Snell --- doc/api/fs.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown index 60b1b984b7ad9f..6fdea6f7f0edf4 100644 --- a/doc/api/fs.markdown +++ b/doc/api/fs.markdown @@ -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}