Bug 80597

Summary: sd_watchdog_enabled man page: usec argument is not const
Product: systemd Reporter: Florent Le Coz <louiz>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Florent Le Coz 2014-06-27 13:48:17 UTC
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
Comment 1 Lennart Poettering 2014-06-27 17:52:05 UTC
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.