* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <config.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
len = read(fd, buf, sizeof(buf));
if (len < 0) {
- sr_err("Error reading from channel %s (hwmon: %s): %s",
+ sr_err("Error reading from channel %s (hwmon: %d): %s",
ch->name, chp->probe->hwmon_num, g_strerror(errno));
ch->enabled = FALSE;
return -1.0;