From: Yu Watanabe Date: Thu, 25 Jan 2024 09:21:41 +0000 (+0900) Subject: core/unit: update outdated comment X-Git-Tag: v256-rc1~1023^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28364bc324dc0ba2e7d4563a3a68c00aecbf4369;p=thirdparty%2Fsystemd.git core/unit: update outdated comment Follow-up for 37eb258e91c780fd6fe5e44110abd9da71dce6de. --- diff --git a/src/core/unit.h b/src/core/unit.h index 976d79251a4..372791f77e0 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -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 */