From: Jelle van der Waa Date: Tue, 6 May 2025 11:06:00 +0000 (+0200) Subject: treewide: correct argument comments for event_reset_time_relative X-Git-Tag: v258-rc1~680^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72c389254ade3144df3f66e17d266873347a99b3;p=thirdparty%2Fsystemd.git treewide: correct argument comments for event_reset_time_relative --- diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index a7fc968facf..5fba3b378c8 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -2106,7 +2106,7 @@ static int delay_shutdown_or_sleep( m->event, &m->inhibit_timeout_source, CLOCK_MONOTONIC, m->inhibit_delay_max, /* accuracy = */ 0, manager_inhibit_timeout_handler, m, - /* priority = */ 0, "inhibit-timeout", /* force = */ true); + /* priority = */ 0, "inhibit-timeout", /* force_reset = */ true); if (r < 0) return log_error_errno(r, "Failed to reset timer event source for inhibit timeout: %m"); diff --git a/src/socket-proxy/socket-proxyd.c b/src/socket-proxy/socket-proxyd.c index fb430757e30..e8b5127522b 100644 --- a/src/socket-proxy/socket-proxyd.c +++ b/src/socket-proxy/socket-proxyd.c @@ -124,7 +124,7 @@ static void context_reset_timer(Context *context) { r = event_reset_time_relative( context->event, &context->idle_time, CLOCK_MONOTONIC, arg_exit_idle_time, 0, idle_time_cb, context, - SD_EVENT_PRIORITY_NORMAL, "idle-timer", /* force = */ true); + SD_EVENT_PRIORITY_NORMAL, "idle-timer", /* force_reset = */ true); if (r < 0) log_warning_errno(r, "Failed to reset idle timer, ignoring: %m"); }