diff options
Diffstat (limited to 'src/shared/watchdog.c')
-rw-r--r-- | src/shared/watchdog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/watchdog.c b/src/shared/watchdog.c index be100931f7..b9c816760d 100644 --- a/src/shared/watchdog.c +++ b/src/shared/watchdog.c @@ -50,8 +50,8 @@ static int update_timeout(void) { flags = WDIOS_ENABLECARD; if (ioctl(watchdog_fd, WDIOC_SETOPTIONS, &flags) < 0) { /* ENOTTY means the watchdog is always enabled so we're fine */ - log_full(ERRNO_IS_NOT_SUPPORTED(errno) ? LOG_DEBUG : LOG_WARNING, - "Failed to enable hardware watchdog: %m"); + log_full_errno(ERRNO_IS_NOT_SUPPORTED(errno) ? LOG_DEBUG : LOG_WARNING, errno, + "Failed to enable hardware watchdog, ignoring: %m"); if (!ERRNO_IS_NOT_SUPPORTED(errno)) return -errno; } |