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