ipmi plugin: Fix crash in ipmi.so (interval < 0.5)
authorMariusz Szafranski <mariuszx.szafranski@intel.com>
Thu, 1 Mar 2018 12:07:56 +0000 (12:07 +0000)
committerMariusz Szafranski <mariuszx.szafranski@intel.com>
Thu, 1 Mar 2018 12:07:56 +0000 (12:07 +0000)
commit94e53011cbe27743da2d9d4a8d3e0fa18fd2a931
tree9327a97ef3dc8ca918b7aa64c63beddf078f12a6
parenta68a482c6ea1900e4f758019117a6856737ff34d
ipmi plugin: Fix crash in ipmi.so (interval < 0.5)

Fixes crash (divide by 0) in ipmi.so when plugin related interval
set to 0.45 or less.

Change-Id: I3ac2282efdc005edefe92f870ac30417451c202c
Signed-off-by: Mariusz Szafranski <mariuszx.szafranski@intel.com>
src/ipmi.c