chiark / gitweb /
update TODO
[elogind.git] / man / sd_booted.xml
index 8d5606d79fb32336c5b9c634a1a6d35e606e22a2..841ee1d47904bcc91a108c2a8750c051095842f9 100644 (file)
@@ -69,8 +69,8 @@
 
                 <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: