summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2011-12-13 16:02:14 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2011-12-13 16:02:14 +0100
commite90db17392c7749bc44235dd9b7f69b298e481a9 (patch)
treeeb038ce7a1cb6a7006ce8f6cb4fd17564590567b /src
parent6e76fc2866872468dec69db817d3baf0ad5584b7 (diff)
downloadnode-new-e90db17392c7749bc44235dd9b7f69b298e481a9.tar.gz
fs: fix typo in error message
Diffstat (limited to 'src')
-rw-r--r--src/node_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_file.cc b/src/node_file.cc
index c6af67db2a..5e0c0ad048 100644
--- a/src/node_file.cc
+++ b/src/node_file.cc
@@ -771,7 +771,7 @@ static Handle<Value> Read(const Arguments& args) {
len = args[3]->Int32Value();
if (off + len > buffer_length) {
return ThrowException(Exception::Error(
- String::New("Length is extends beyond buffer")));
+ String::New("Length extends beyond buffer")));
}
pos = GET_OFFSET(args[4]);