<para>On failure, this call returns a negative
errno-style error code. If the system was booted up
- with systemd as init system this call returns a
- postive return value, zero otherwise.</para>
+ with systemd as init system, this call returns a
+ positive return value, zero otherwise.</para>
</refsect1>
<refsect1>
implementation.</para>
<para>Internally, this function checks whether the
- <filename>/cgroup/systemd</filename> virtual file
+ <filename>/sys/fs/cgroup/systemd</filename> virtual file
system is mounted, by comparing the st_dev value of
the <function>stat()</function> data of
- <filename>/cgroup</filename> and
- <filename>/cgroup/systemd</filename>.</para>
+ <filename>/sys/fs/cgroup</filename> and
+ <filename>/sys/fs/cgroup/systemd</filename>.</para>
<para>For details about the algorithm check the
liberally licensed reference implementation sources:
<refsect1>
<title>See Also</title>
<para>
- <citerefentry><refentrytitle>sd_daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd_daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>
</para>
</refsect1>