summaryrefslogtreecommitdiff
path: root/util/oem_dell.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-02-24 21:18:20 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-02-24 21:18:20 +0100
commit7a40b1039a0cef3c47c75260f47aba0548c1cdbb (patch)
tree9cc82aefd88f309aea07c58dbd6056922bdbea9c /util/oem_dell.c
parentf504e2f8269ff2f133f0700c8ad03ad4f05df49a (diff)
parente6806f1d217e07f52759e4fa1c792d1fe02f0d50 (diff)
Merge tag 'upstream/3.0.2'
Upstream version 3.0.2
Diffstat (limited to 'util/oem_dell.c')
-rw-r--r--util/oem_dell.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/oem_dell.c b/util/oem_dell.c
index 0389355..c806e94 100644
--- a/util/oem_dell.c
+++ b/util/oem_dell.c
@@ -132,7 +132,7 @@ char NIC_Selection_Mode_String_12g[] [50] = {
"shared with failover all loms"
};
-static char * progver = "3.01";
+static char * progver = "3.02";
static char * progname = "idelloem";
static int verbose = 0;
static char fdebug = 0;
@@ -5445,8 +5445,8 @@ int decode_sensor_dell(uchar *sdr,uchar *reading,char *pstring, int slen)
if (stype == 0x02) { /* Discrete Voltage */
/* Dell Discrete Voltage is opposite from normal */
if (evtype == 0x03) { /*oem interpretation */
- if (reading[2] & 0x01) strncpy(pstring,"OK",slen);
- else strncpy(pstring,"Exceeded",slen); /*LimitExceeded*/
+ if (reading[2] & 0x01) strncpy(pstring,"OK",slen);
+ else strncpy(pstring,"Exceeded",slen); /*LimitExceeded*/
rv = 0;
}
}