Skip to content

Commit

Permalink
[linux] Improve error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
garbear committed Oct 13, 2016
1 parent 180f28c commit 1dcf590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/linux/JoystickLinux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ bool CJoystickLinux::ScanEvents(void)
}
else
{
esyslog("%s: failed to read joystick \"%s\" on %s",
__FUNCTION__, Name().c_str(), m_strFilename.c_str());
esyslog("%s: failed to read joystick \"%s\" on %s - %d (%s)",
__FUNCTION__, Name().c_str(), m_strFilename.c_str(), errno, strerror(errno));
break;
}
}
Expand Down

0 comments on commit 1dcf590

Please sign in to comment.