]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/unit: update outdated comment
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 25 Jan 2024 09:21:41 +0000 (18:21 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 27 Jan 2024 14:08:26 +0000 (23:08 +0900)
Follow-up for 37eb258e91c780fd6fe5e44110abd9da71dce6de.

src/core/unit.h

index 976d79251a428e8f402ed7b06b6d826e739495c0..372791f77e07d39211210e25f33c140852bf198f 100644 (file)
@@ -731,10 +731,10 @@ typedef struct UnitVTable {
         /* Returns the start timeout of a unit */
         usec_t (*get_timeout_start_usec)(Unit *u);
 
-        /* Returns the main PID if there is any defined, or 0. */
+        /* Returns the main PID if there is any defined, or NULL. */
         PidRef* (*main_pid)(Unit *u, bool *ret_is_alien);
 
-        /* Returns the control PID if there is any defined, or 0. */
+        /* Returns the control PID if there is any defined, or NULL. */
         PidRef* (*control_pid)(Unit *u);
 
         /* Returns true if the unit currently needs access to the console */