From e90db17392c7749bc44235dd9b7f69b298e481a9 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 13 Dec 2011 16:02:14 +0100 Subject: [PATCH] fs: fix typo in error message --- src/node_file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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]);