wangzhengquan
2021-01-19 3baa1ff0ea9c24f4ecf0f818f2c5909d6d918f5e
src/bus_error.cpp
@@ -13,9 +13,10 @@
static char *_bus_errlist[_bus_nerr] = {
  "\0",
  "timeout",
  "Timeout",
  "The other end is not inline",
  "Key already in use"
  "Key already in use",
  "Network fault"
};
@@ -43,7 +44,7 @@
{
  int s, eindex;
  char *buf;
  eindex = err - 10000;
  eindex = err - EBUS_BASE;
  /* Make first caller allocate key for thread-specific data */
  s = pthread_once(&once, createKey);