Fix in fan error handling

This commit is contained in:
moosecrap 2025-02-21 11:32:02 -08:00
parent 20e2683110
commit 5e78a059a6

2
icx3.c
View File

@ -237,6 +237,6 @@ void set_fan(int fan, char *setting, struct card_info *card)
if (fan_readback.fanmode != fan_control.fanmode ||
fan_readback.rpm_offset != fan_control.rpm_offset ||
fan_readback.duty != fan_control.duty)
printf("Error setting fan %d on %s\n", fan, card->i2c_fd);
printf("Error setting fan %d on %s\n", fan, card->i2c_dev_path);
}