fs: fix typo in error message
This commit is contained in:
parent
6e76fc2866
commit
e90db17392
@ -771,7 +771,7 @@ static Handle<Value> Read(const Arguments& args) {
|
|||||||
len = args[3]->Int32Value();
|
len = args[3]->Int32Value();
|
||||||
if (off + len > buffer_length) {
|
if (off + len > buffer_length) {
|
||||||
return ThrowException(Exception::Error(
|
return ThrowException(Exception::Error(
|
||||||
String::New("Length is extends beyond buffer")));
|
String::New("Length extends beyond buffer")));
|
||||||
}
|
}
|
||||||
|
|
||||||
pos = GET_OFFSET(args[4]);
|
pos = GET_OFFSET(args[4]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user