diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-02-17 20:56:52 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-02-17 20:56:52 +0100 |
commit | d3c90cdcdf56146af89056ed36bfcc7b4d4956c5 (patch) | |
tree | 501b20343861a704020ca37b8e65fd2211dcb353 /util/isensor.c | |
parent | ee6c7128ed0d58cb1812049463a13bba9cfb31b7 (diff) |
Imported Upstream version 2.9.8upstream/2.9.8
Diffstat (limited to 'util/isensor.c')
-rw-r--r-- | util/isensor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/isensor.c b/util/isensor.c index 6be2836..6aaf3fb 100644 --- a/util/isensor.c +++ b/util/isensor.c @@ -247,7 +247,7 @@ char *decode_entity_id(int id) { * Global Data ************************/ static char *progname = "isensor"; -static char *progver = "2.97"; +static char *progver = "2.98"; #ifdef WIN32 static char savefile[] = "%ipmiutildir%\\thresholds.cmd"; #else @@ -1298,6 +1298,7 @@ int GetSDR(int r_id, int *r_next, uchar *recdata, int srecdata, int *rlen) if (sresp >= 2) thislen = sresp - 2; else thislen = 0; reclen = off + thislen; /* truncate, stop reading */ + fprintf(stderr,"SDR record %x is malformed, length %d is less than minimum %d\n",sresp,thislen+2); } /* successful */ memcpy(&resp[off],&respchunk[2],thislen); |