Fixing a typo in the fs.readFile example.

This commit is contained in:
pyrotechnick
2010-03-17 10:20:36 -07:00
committed by Ryan Dahl
parent 84277ea845
commit 8aaffe71ee

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);
});
--------------------------------
+