diff --git a/lib/buffer.js b/lib/buffer.js index 2e29ae4eba7..e33901f506a 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -181,7 +181,7 @@ Buffer.isEncoding = function(encoding) { Buffer.concat = function(list, length) { if (!util.isArray(list)) - throw new TypeError('Usage: Buffer.concat(list[, length])'); + throw new TypeError('list argument must be an Array of Buffers.'); if (util.isUndefined(length)) { length = 0;