Fixing a typo in the fs.readFile example.

This commit is contained in:
pyrotechnick authored and Ryan Dahl committed 2010-03-17 14:44:15 -07:00
1 parent 84277ea845
commit 8aaffe71ee
1 file changed
+1 -1
+1 -1
View File
@@ -695,7 +695,7 @@ Asynchronously reads the entire contents of a file. Example:
--------------------------------
fs.readFile("/etc/passwd", function (err, data) {
if (err) throw err;
sys.puts(content);
sys.puts(data);
});
--------------------------------
+