From 8aaffe71eebd3dbf4e8713c79aea6b4413396f9e Mon Sep 17 00:00:00 2001 From: pyrotechnick Date: Wed, 17 Mar 2010 10:20:36 -0700 Subject: [PATCH] Fixing a typo in the fs.readFile example. --- doc/api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api.txt b/doc/api.txt index def050430b..38b4c85469 100644 --- a/doc/api.txt +++ b/doc/api.txt @@ -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); }); -------------------------------- +