[systemd-bugs] [Bug 80597] New: sd_watchdog_enabled man page: usec argument is not const

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 27 06:48:17 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80597

          Priority: medium
            Bug ID: 80597
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: sd_watchdog_enabled man page: usec argument is not
                    const
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: louiz at louiz.org
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140627/e31ac560/attachment-0001.html>


More information about the systemd-bugs mailing list