Permalink
Browse files

Fix docs for fs.*chown

Fix bad parameters of fs.chown[Sync], fs.fchown[Sync] and
fs.lchown[Sync] in documentation.

Fixes #1533.
  • Loading branch information...
1 parent 4d186f2 commit e8d268fd5fad5ac1356862a20b84cdd58bcb205c @polazarus polazarus committed with koichik Aug 15, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 doc/api/fs.markdown
View
@@ -73,30 +73,30 @@ given to the completion callback.
Synchronous ftruncate(2).
-### fs.chown(path, mode, [callback])
+### fs.chown(path, uid, gid, [callback])
Asycnronous chown(2). No arguments other than a possible exception are given
to the completion callback.
-### fs.chownSync(path, mode)
+### fs.chownSync(path, uid, gid)
Synchronous chown(2).
-### fs.fchown(path, mode, [callback])
+### fs.fchown(path, uid, gid, [callback])
Asycnronous fchown(2). No arguments other than a possible exception are given
to the completion callback.
-### fs.fchownSync(path, mode)
+### fs.fchownSync(path, uid, gid)
Synchronous fchown(2).
-### fs.lchown(path, mode, [callback])
+### fs.lchown(path, uid, gid, [callback])
Asycnronous lchown(2). No arguments other than a possible exception are given
to the completion callback.
-### fs.lchownSync(path, mode)
+### fs.lchownSync(path, uid, gid)
Synchronous lchown(2).

0 comments on commit e8d268f

Please sign in to comment.