fs: fix typo in error message

This commit is contained in:
Ben Noordhuis 2011-12-13 16:02:14 +01:00
parent 6e76fc2866
commit e90db17392

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