diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-05-11 22:51:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-05-11 22:51:49 +0200 |
commit | b2c23da8cea1987a1a329f5a964d3299b7ca7890 (patch) | |
tree | 66f369f148c30ef8d63b32cc33686b0370c6cbf8 /src/analyze | |
parent | 8b4305c7354f572fa0390b7580ba30af741aa0a5 (diff) | |
download | systemd-b2c23da8cea1987a1a329f5a964d3299b7ca7890.tar.gz |
core: rename SystemdRunningAs to ManagerRunningAs
It's primarily just a property of the Manager object after all, and we
try to refer to PID 1 as "manager" instead of "systemd", hence let's to
stick to this here too.
Diffstat (limited to 'src/analyze')
-rw-r--r-- | src/analyze/analyze-verify.c | 2 | ||||
-rw-r--r-- | src/analyze/analyze-verify.h | 2 | ||||
-rw-r--r-- | src/analyze/analyze.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/analyze/analyze-verify.c b/src/analyze/analyze-verify.c index e7df55f5a5..f4255f979e 100644 --- a/src/analyze/analyze-verify.c +++ b/src/analyze/analyze-verify.c @@ -192,7 +192,7 @@ static int verify_unit(Unit *u, bool check_man) { return r; } -int verify_units(char **filenames, SystemdRunningAs running_as, bool check_man) { +int verify_units(char **filenames, ManagerRunningAs running_as, bool check_man) { _cleanup_bus_error_free_ sd_bus_error err = SD_BUS_ERROR_NULL; Manager *m = NULL; FILE *serial = NULL; diff --git a/src/analyze/analyze-verify.h b/src/analyze/analyze-verify.h index f10c34c4ae..d2d4a7f190 100644 --- a/src/analyze/analyze-verify.h +++ b/src/analyze/analyze-verify.h @@ -25,4 +25,4 @@ #include "path-lookup.h" -int verify_units(char **filenames, SystemdRunningAs running_as, bool check_man); +int verify_units(char **filenames, ManagerRunningAs running_as, bool check_man); diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 17fc5c861b..9583458f72 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -1328,7 +1328,7 @@ int main(int argc, char *argv[]) { if (streq_ptr(argv[optind], "verify")) r = verify_units(argv+optind+1, - arg_user ? SYSTEMD_USER : SYSTEMD_SYSTEM, + arg_user ? MANAGER_USER : MANAGER_SYSTEM, arg_man); else { _cleanup_bus_close_unref_ sd_bus *bus = NULL; |