Fix arg order of fs.linkSync in docs
authorRyan Dahl <ry@tinyclouds.org>
Thu, 27 Jan 2011 22:20:50 +0000 (14:20 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Thu, 27 Jan 2011 22:22:17 +0000 (14:22 -0800)
Thanks Pierre. Closes GH-571.

doc/api/fs.markdown

index 802cb0c..1caf5b3 100644 (file)
@@ -129,7 +129,7 @@ Synchronous fstat(2). Returns an instance of `fs.Stats`.
 Asynchronous link(2). No arguments other than a possible exception are given to
 the completion callback.
 
-### fs.linkSync(dstpath, srcpath)
+### fs.linkSync(srcpath, dstpath)
 
 Synchronous link(2).