diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util/util_watchdog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/util_watchdog.c b/src/util/util_watchdog.c index cdb379653..5032fddba 100644 --- a/src/util/util_watchdog.c +++ b/src/util/util_watchdog.c @@ -74,11 +74,12 @@ static void watchdog_event_handler(struct tevent_context *ev, int setup_watchdog(struct tevent_context *ev, int interval) { - struct sigevent sev = { 0 }; + struct sigevent sev; struct itimerspec its; int signum = SIGRTMIN; int ret; + ZERO_STRUCT(sev); CatchSignal(signum, watchdog_handler); sev.sigev_notify = SIGEV_SIGNAL; |