aboutsummaryrefslogtreecommitdiffstats
path: root/src/linux/watchdog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/watchdog.c')
-rw-r--r--src/linux/watchdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/watchdog.c b/src/linux/watchdog.c
index d89fcd29..d514eb27 100644
--- a/src/linux/watchdog.c
+++ b/src/linux/watchdog.c
@@ -26,7 +26,7 @@ watchdog_setup(void)
void
watchdog_task(void)
{
- static struct timespec next_watchdog_time;
+ static uint32_t next_watchdog_time;
if (watchdog_fd < 0 || !timer_check_periodic(&next_watchdog_time))
return;
int ret = write(watchdog_fd, ".", 1);