diff --git a/doc/node.1 b/doc/node.1 index 9defd48c88..ee12593056 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -36,7 +36,7 @@ Execute without arguments to start the REPL. .SH DESCRIPTION Node is a set of libraries for javascript which allows -it to be used outside of the browser. It is primarally +it to be used outside of the browser. It is primarily focused on creating simple, easy to build network clients and servers. diff --git a/lib/buffer.js b/lib/buffer.js index ade5d5ac56..2733947348 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -122,7 +122,7 @@ function Buffer(subject, encoding, offset) { break; default: - throw new Error('First argument need to be an number,' + + throw new Error('First argument needs to be a number, ' + 'array or string.'); }