From e6806f1d217e07f52759e4fa1c792d1fe02f0d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 24 Feb 2017 21:18:15 +0100 Subject: New upstream version 3.0.2 --- util/oem_dell.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util/oem_dell.c') 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; } } -- cgit v1.2.3