aboutsummaryrefslogtreecommitdiff
path: root/src/zmq
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-06-09 14:29:44 +0800
committerfanquake <fanquake@gmail.com>2021-06-09 19:25:13 +0800
commit3f05a9e681c4b72d99ddda8ccb6911d6ffad44ec (patch)
tree84113ee308bead9bb671573125a904fff6f62e78 /src/zmq
parent9a7cb57bbc61b2dfb772f8486db2a44c1673983a (diff)
zmq: use msg: prefix over errno= in zmqError
zmq_strerror() converts the passed errno into a description, meaning currently you have output like: "errno=No such file or directory". Using msg: would seem to make more sense here.
Diffstat (limited to 'src/zmq')
-rw-r--r--src/zmq/zmqutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmq/zmqutil.cpp b/src/zmq/zmqutil.cpp
index cf05dd81ff..b0f12388e5 100644
--- a/src/zmq/zmqutil.cpp
+++ b/src/zmq/zmqutil.cpp
@@ -12,5 +12,5 @@
void zmqError(const std::string& str)
{
- LogPrint(BCLog::ZMQ, "zmq: Error: %s, errno=%s\n", str, zmq_strerror(errno));
+ LogPrint(BCLog::ZMQ, "zmq: Error: %s, msg: %s\n", str, zmq_strerror(errno));
}