Skip to content

Commit eb40dcb

Browse files
mscdexkoichik
authored andcommitted
Fix typo for fs.write docs
Fixes #1843.
1 parent 007ddcd commit eb40dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/fs.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ current position.
296296
See pwrite(2).
297297

298298
The callback will be given three arguments `(err, written, buffer)` where `written`
299-
specifies how many _bytes_ were written into `buffer`.
299+
specifies how many _bytes_ were written from `buffer`.
300300

301301
Note that it is unsafe to use `fs.write` multiple times on the same file
302302
without waiting for the callback. For this scenario,

0 commit comments

Comments
 (0)