diff options
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2017-08-18 18:29:41 +0530 |
---|---|---|
committer | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2017-08-23 18:56:37 +0530 |
commit | 2dc9b1a24f753270eae01be8b71c0c89a3c669cc (patch) | |
tree | 8a9186650d1402515637a8ee4e1bc6b797dd1a0b /occ_errors.hpp | |
parent | 715595b64ead477ceae235208a290808234cdcf0 (diff) | |
download | openpower-occ-control-2dc9b1a24f753270eae01be8b71c0c89a3c669cc.tar.gz openpower-occ-control-2dc9b1a24f753270eae01be8b71c0c89a3c669cc.zip |
Enable OCC error monitoring
Fixes openbmc/openbmc#2165
Change-Id: I93f317a32c910f279003fa0fce6ae2d597f90312
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'occ_errors.hpp')
-rw-r--r-- | occ_errors.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/occ_errors.hpp b/occ_errors.hpp index 1e66ffc..e3820d1 100644 --- a/occ_errors.hpp +++ b/occ_errors.hpp @@ -70,6 +70,9 @@ class Error /** @brief File descriptor to watch for errors */ int fd = -1; + /** @brief Current state of error watching */ + bool watching = false; + /** @brief attaches FD to events and sets up callback handler */ void registerCallBack(); |