diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-05-20 14:19:08 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 08:32:17 -0400 | 
| commit | 907a2395f423e3b97335d554557c2cef7195db84 (patch) | |
| tree | 18ea691bc5589fa570c739a9f221429633778ea9 /lib/systemd.c | |
| parent | e6685141aae8fc869d49cde1d459f73b87bbec89 (diff) | |
*: Convert thread_add_XXX functions to event_add_XXX
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/systemd.c')
| -rw-r--r-- | lib/systemd.c | 4 | 
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)  | 
