summaryrefslogtreecommitdiff
path: root/lib/systemd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/systemd.c')
-rw-r--r--lib/systemd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/systemd.c b/lib/systemd.c
index 14a09362dd..5a0668f74f 100644
--- a/lib/systemd.c
+++ b/lib/systemd.c
@@ -70,8 +70,8 @@ static void systemd_send_watchdog(struct event *t)
systemd_send_information("WATCHDOG=1");
assert(watchdog_msec > 0);
- thread_add_timer_msec(systemd_master, systemd_send_watchdog, NULL,
- watchdog_msec, NULL);
+ event_add_timer_msec(systemd_master, systemd_send_watchdog, NULL,
+ watchdog_msec, NULL);
}
void systemd_send_started(struct thread_master *m)