]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: watchdog: use si_value.sival_int, not si_int for the timer's value
authorWilly Tarreau <w@1wt.eu>
Thu, 23 May 2019 06:36:29 +0000 (08:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 23 May 2019 06:36:29 +0000 (08:36 +0200)
commit02255b24df4406d84be418c10aa5b4f94e10d8a9
tree8687cc782ef3768357b990723d59aee61ae2177d
parent567406949b18220f90222b45b339a08177104594
BUILD: watchdog: use si_value.sival_int, not si_int for the timer's value

Bah, the linux manpage suggests to use si_int but it's a fake, it's only
a define on sigval.sival_int where sigval is defined as si_value. Let's
use si_value.sival_int, at least it builds on both Linux and FreeBSD. It's
likely that this code will have to be limited to a small subset of OSes
if it causes difficulties like this.
src/wdt.c