]> git.ipfire.org Git - thirdparty/util-linux.git/commit
wdctl: set_watchdog() refactoring
authorKarel Zak <kzak@redhat.com>
Thu, 21 Oct 2021 10:38:16 +0000 (12:38 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 21 Oct 2021 11:01:49 +0000 (13:01 +0200)
commit7d64a2b5d5eeaacd4d7e9b2d201374cc6890c6fb
tree533d16f428dbd73b4403096db54c6faeafb68688
parent86ffb5a7dee6057ca5afef330de1c834d75ea068
wdctl: set_watchdog() refactoring

* keep wanted values in struct wd_control
* make set_watchdog() more readable

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/wdctl.c