summaryrefslogtreecommitdiff
path: root/doc/api.txt
diff options
context:
space:
mode:
authorpyrotechnick <pyrotechnick@feistystudios.com>2010-03-17 10:20:36 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-03-17 14:44:15 -0700
commit8aaffe71eebd3dbf4e8713c79aea6b4413396f9e (patch)
tree6a519471b619f959eadfff7fdf409772c51afc5b /doc/api.txt
parent84277ea84544d9999e7fea3eec30abada673f7c8 (diff)
downloadnode-8aaffe71eebd3dbf4e8713c79aea6b4413396f9e.tar.gz
Fixing a typo in the fs.readFile example.
Diffstat (limited to 'doc/api.txt')
-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);
});
--------------------------------
+