Applied, thanks!
On Tue, Apr 21, 2015 at 2:29 PM, Bartosz Golaszewski
bartekg...@gmail.com wrote:
Trying to access /dev/i2c/* on every error after opening /dev/i2c-* can
mislead users who e.g. don't have root access. Instead of bailing-out
with permission denied we currently print no such file
Trying to access /dev/i2c/* on every error after opening /dev/i2c-* can
mislead users who e.g. don't have root access. Instead of bailing-out
with permission denied we currently print no such file or directory.
Fix it by checking for ENOENT if the first call to open() fails.
Upstream i2cdetect