diff --git a/lib/buffer.js b/lib/buffer.js index d398859748..4f7699e638 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -7,7 +7,7 @@ function toHex (n) { return n.toString(16); } -Buffer.prototype.toString = function () { +Buffer.prototype.inspect = function () { var s = "