wangzhengquan
2021-01-18 01e202b60cc8aceb65fd6c82949e2a2b08142f8c
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);