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.
This commit is contained in:
fanquake 2021-06-09 14:29:44 +08:00
parent 9a7cb57bbc
commit 3f05a9e681
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -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));
}