Skip to content

Commit

Permalink
Merge pull request #70 from kodi-game/silence-log
Browse files Browse the repository at this point in the history
Fix log spam on android
  • Loading branch information
garbear committed Dec 9, 2016
2 parents ddbe121 + 463b63f commit 7738f6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/linux/JoystickInterfaceLinux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ bool CJoystickInterfaceLinux::ScanForJoysticks(JoystickVector& joysticks)
DIR *pd = opendir(inputDir.c_str());
if (pd == NULL)
{
esyslog("%s: can't open %s (errno=%d)", __FUNCTION__, inputDir.c_str(), errno);
// Disabled until udev is used to grab device names
//esyslog("%s: can't open %s (errno=%d)", __FUNCTION__, inputDir.c_str(), errno);
return false;
}

Expand Down

0 comments on commit 7738f6a

Please sign in to comment.