diff --git a/lib/buffer.js b/lib/buffer.js index d3988597485..4f7699e6387 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 = "