diff options
author | Franck Bui <fbui@suse.com> | 2021-09-14 22:36:14 +0200 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2021-09-15 12:14:34 +0200 |
commit | d74965e6fe583562ebaf0767da6325a72d11643a (patch) | |
tree | 472f5c5908e5ed86819195b02046b23c11d6ea8d /src/shutdown | |
parent | watchdog: minor simplification of watchdog_runtime_wait() (diff) | |
download | systemd-d74965e6fe583562ebaf0767da6325a72d11643a.tar.xz systemd-d74965e6fe583562ebaf0767da6325a72d11643a.zip |
watchdog: rename watchdog_set_timeout() into watchdog_setup()
"watchdog_set_timeout()" was misleading as the function is not just a setter -
it must be called for activating the watchdog device.
Diffstat (limited to 'src/shutdown')
-rw-r--r-- | src/shutdown/shutdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shutdown/shutdown.c b/src/shutdown/shutdown.c index 2387e27985..903977bcb1 100644 --- a/src/shutdown/shutdown.c +++ b/src/shutdown/shutdown.c @@ -387,7 +387,7 @@ int main(int argc, char *argv[]) { log_warning_errno(r, "Failed to parse watchdog timeout '%s', ignoring: %m", watchdog_usec); else - (void) watchdog_set_timeout(usec); + (void) watchdog_setup(usec); } /* Lock us into memory */ |