diff options
Diffstat (limited to 'app/watchdog.cpp')
-rw-r--r-- | app/watchdog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/watchdog.cpp b/app/watchdog.cpp index dbd7426..da8ccf3 100644 --- a/app/watchdog.cpp +++ b/app/watchdog.cpp @@ -31,11 +31,10 @@ ipmi_ret_t ipmi_app_watchdog_reset( try { WatchdogService wd_service; - WatchdogService::Properties wd_prop = wd_service.getProperties(); // Notify the caller if we haven't initialized our timer yet // so it can configure actions and timeouts - if (!wd_prop.initialized) + if (!wd_service.getInitialized()) { return IPMI_WDOG_CC_NOT_INIT; } |