mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-17 19:30:26 +00:00
Add a "quiet" parameter to open_i2c_dev() to prevent it from
displaying error messages. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3077 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
27e2a62bab
commit
32fbdf8ba4
5 files changed
+6
-6
No files matched your search
@@ -223,7 +223,7 @@ int main(int argc, char *argv[])
|
||||
exit(1);
|
||||
}
|
||||
|
||||
file = open_i2c_dev(i2cbus, filename);
|
||||
file = open_i2c_dev(i2cbus, filename, 0);
|
||||
if (file < 0) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user