fs: fix typo in error message
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 13 Dec 2011 15:02:14 +0000 (16:02 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 13 Dec 2011 15:02:14 +0000 (16:02 +0100)
src/node_file.cc

index c6af67d..5e0c0ad 100644 (file)
@@ -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]);