lm_sensor-2.9.0 — bmcsensors.c

  Linux

Index: ./kernel/chips/bmcsensors.c
===================================================================
RCS file: /home/cvs/lm_sensors2/kernel/chips/bmcsensors.c.v
retrieving revision 1.20
diff -u -d -r1.20 bmcsensors.c
— ./kernel/chips/bmcsensors.c 4 Dec 2004 21:18:34 -0000 1.20
+++ ./kernel/chips/bmcsensors.c 30 Dec 2004 14:25:25 -0000
@@ -297.7 +297.7 @@
}

/* swap lim1/lim2 if m < 0 or function is 1/x (but not both!) */
– if(m < 0 && sd->linear != 7 || m >= 0 && sd->linear == 7) {
+ if(sd->m < 0 && sd->linear != 7 || sd->m >= 0 && sd->linear == 7) {
tmp = sd->lim1;
sd->lim1 = sd->lim2;
sd->lim2 = tmp;