From ecb14089a7bd3dbb99b22852584855a65e7232ed Mon Sep 17 00:00:00 2001 From: vyzo Date: Thu, 21 Sep 2017 12:10:37 +0300 Subject: [PATCH] basic_host: fix warning message --- p2p/host/basic/basic_host.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/host/basic/basic_host.go b/p2p/host/basic/basic_host.go index 3f0f113..4e42af5 100644 --- a/p2p/host/basic/basic_host.go +++ b/p2p/host/basic/basic_host.go @@ -255,7 +255,7 @@ func (h *BasicHost) newStreamHandler(s inet.Stream) { } logf("protocol EOF: %s (took %s)", s.Conn().RemotePeer(), took) } else { - log.Warning("protocol mux failed: %s (took %s)", err, took) + log.Warningf("protocol mux failed: %s (took %s)", err, took) } s.Close() return -- GitLab