Browse Source

fs: fix typo in error message

v0.7.4-release
Ben Noordhuis 13 years ago
parent
commit
e90db17392
  1. 2
      src/node_file.cc

2
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]);

Loading…
Cancel
Save