Skip to content

Commit

Permalink
output fan lvl string on write error
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Mataré committed May 4, 2016
1 parent 3bd6e33 commit e1f68db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/message.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void report_tstat();
#define MSG_ERR_T_INVALID "%s: Invalid temperature: %d"
#define MSG_ERR_MODOPTS \
"Module thinkpad_acpi doesn't seem to support fan_control\n"
#define MSG_ERR_FANCTRL "%s: Error writing to %s: %s\n", __func__, config->fan, strerror(errno)
#define MSG_ERR_FANCTRL "%s: Error writing \"%s\" to %s: %s\n", __func__, cur_lvl, config->fan, strerror(errno)
#define MSG_ERR_FAN_INIT "%s: Error initializing fan control.\n", __func__
#define MSG_ERR_OPT_S "ERROR: option -s requires an int argument!\n"
#define MSG_ERR_OPT_B "ERROR: bias must be between -10 and 30!\n"
Expand Down

0 comments on commit e1f68db

Please sign in to comment.