2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00

shorten sensor types for w8378x so lines don't wrap on 80-column terminal

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2645 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
2004-07-24 18:38:04 +00:00
parent 70d2d75e54
commit 1187c8b952

View File

@@ -2227,8 +2227,8 @@ void print_w83781d(const sensors_chip_name *name)
else
print_temp_info( cur, max, min, HYST, 0, 0);
printf( " sensor = %s %s %s\n",
(((int)sens)==1)?"PII/Celeron diode":(((int)sens)==2)?
"3904 transistor":"thermistor",
(((int)sens)==1)?"diode":(((int)sens)==2)?
"transistor":"thermistor",
alarms&W83781D_ALARM_TEMP1?"ALARM":" ",
beeps&W83781D_ALARM_TEMP1?"(beep)":"");
} else {
@@ -2255,8 +2255,8 @@ void print_w83781d(const sensors_chip_name *name)
print_label(label,10);
print_temp_info( cur, max, min, HYST, 1, 0);
printf( " sensor = %s %s %s\n",
(((int)sens)==1)?"PII/Celeron diode":(((int)sens)==2)?
"3904 transistor":"thermistor",
(((int)sens)==1)?"diode":(((int)sens)==2)?
"transistor":"thermistor",
alarms&W83781D_ALARM_TEMP2?"ALARM":" ",
beeps&W83781D_ALARM_TEMP2?"(beep)":"");
} else {
@@ -2288,8 +2288,8 @@ void print_w83781d(const sensors_chip_name *name)
print_label(label,10);
print_temp_info( cur, max, min, HYST, 1, 0);
printf( " sensor = %s %s %s\n",
(((int)sens)==1)?"PII/Celeron diode":(((int)sens)==2)?
"3904 transistor":"thermistor",
(((int)sens)==1)?"diode":(((int)sens)==2)?
"transistor":"thermistor",
alarms&W83781D_ALARM_TEMP3?"ALARM":" ",
beeps&W83781D_ALARM_TEMP3?"(beep)":"");
} else {