]> git.ipfire.org Git - thirdparty/systemd.git/commit
watchdog: use MIN() in update_timeout() 20650/head
authorFranck Bui <fbui@suse.com>
Wed, 15 Sep 2021 09:20:17 +0000 (11:20 +0200)
committerFranck Bui <fbui@suse.com>
Wed, 15 Sep 2021 10:14:53 +0000 (12:14 +0200)
commit10fd2b1180b7c298cfb593afd5c63ce26977a3cd
treeb8eb847549659d2e776fba9e00e145519545f23e
parent484752e26ae48362b5234269315482a81058b471
watchdog: use MIN() in update_timeout()

Also the previous expression was probably wrong as "(int) t >= INT_MAX" is
likely to always evaluate to false.
src/shared/watchdog.c