message: serial_connection: fix build errors Linux
diff: @@ -96,20 +96,20 @@ ConnectionResult SerialConnection::setup_port()
  #if defined(LINUX)
  _fd = open(_serial_node.c_str(), O_RDWR | O_NOCTTY);
  if (_fd == -1) {
  - LogErr() << "open failed: " << GET_ERROR(errno);
  + LogErr() << "open failed: " << GET_ERROR();
  return ConnectionResult::CONNECTION_ERROR;
  }
  #elif defined(APPLE)
  // open() hangs on macOS unless you give it O_NONBLOCK
  _fd = open(_serial_node.c_str(), O_RDWR | O_NOCTTY | O_NONBLOCK);
  if (_fd == -1) {
  - LogErr() << "open failed: " << GET_ERROR(errno);
  + LogErr() << "open failed: " << GET_ERROR();
  return ConnectionResult::CONNECTION_ERROR;
  }
  // We need to clear the O_NONBLOCK again because we can block while reading
  // as we do it in a separate thread.
  if (fcntl(_fd, F_SETFL, 0) == -1) {
  - LogErr() << "fcntl failed: " << GET_ERROR(errno);
  + LogErr() << "fcntl failed: " << GET_ERROR();
  return ConnectionResult::CONNECTION_ERROR;
  }
  #elif defined(WINDOWS)
  @@ -132,7 +132,7 @@ ConnectionResult SerialConnection::setup_port()
  bzero(&tc, sizeof(tc));
  if (ioctl(_fd, TCGETS2, &tc) == -1) {
  - LogErr() << "Could not get termios2 " << GET_ERROR(errno);
  + LogErr() << "Could not get termios2 " << GET_ERROR();
  close(_fd);
  return ConnectionResult::CONNECTION_ERROR;
  }
  