The sd_watchdog_enabled(3) man page states: int sd_watchdog_enabled(int unset_environment, const uint64_t *usec); But it should be int sd_watchdog_enabled(int unset_environment, uint64_t *usec); Because: - usec is not const in src/systemd/sd-daemon.h - it would not make sense, since the function sets the value pointed by usec to the configured watchdog timeout
Thanks! Fixed!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.