Report configuration file read errors.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5638 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2009-02-10 20:50:16 +00:00
1 parent 556b03e425
commit ea0cfbeadf
3 files changed
+8 -1

No files matched your search

+3
View File
@@ -88,6 +88,9 @@ int sensors_init(FILE *input)
goto exit_cleanup;
}
fclose(input);
} else if (errno != ENOENT) {
sensors_parse_error(strerror(errno), 0);
goto exit_cleanup;
}
}