From bae2aa33ddba7092ca1bf8f205937218bdc29d41 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 26 Jan 2017 01:48:54 -0800 Subject: [PATCH] parser: minor. --- lib/net/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/parser.js b/lib/net/parser.js index 9fd3eda3..f20a13e9 100644 --- a/lib/net/parser.js +++ b/lib/net/parser.js @@ -103,7 +103,7 @@ Parser.prototype.parse = function parse(data) { if (checksum !== this.header.checksum) { this.waiting = 24; this.header = null; - this.error('Invalid checksum: %d.', util.hex32(checksum)); + this.error('Invalid checksum: %s.', util.hex32(checksum)); return; }