diff --git a/lib/buffer.js b/lib/buffer.js index 9b43882e574d..dd6f7a37abe3 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -187,7 +187,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;