summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api.txt b/doc/api.txt
index def050430..38b4c8546 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);
});
--------------------------------
+