diff options
author | Antonio Alvarez Feijoo <antonio.feijoo@suse.com> | 2024-01-04 15:22:42 +0100 |
---|---|---|
committer | Antonio Alvarez Feijoo <antonio.feijoo@suse.com> | 2024-01-04 15:22:42 +0100 |
commit | b431c090beb156434fa057e2a3dd14be6e8b2de1 (patch) | |
tree | 37a8147f185534c2b3fed5459d2e89d2b1f15d97 /src/fsck | |
parent | execute: make sure Type=exec and PAMName= work together (diff) | |
download | systemd-b431c090beb156434fa057e2a3dd14be6e8b2de1.tar.xz systemd-b431c090beb156434fa057e2a3dd14be6e8b2de1.zip |
tree-wide: use SPECIAL_BASIC_TARGET
Diffstat (limited to 'src/fsck')
-rw-r--r-- | src/fsck/fsck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c index 729209fc89..4ec8989a3f 100644 --- a/src/fsck/fsck.c +++ b/src/fsck/fsck.c @@ -54,7 +54,7 @@ static void start_target(const char *target, const char *mode) { log_info("Requesting %s/start/%s", target, mode); /* Start this unit only if we can replace basic.target with it */ - r = bus_call_method(bus, bus_systemd_mgr, "StartUnitReplace", &error, NULL, "sss", "basic.target", target, mode); + r = bus_call_method(bus, bus_systemd_mgr, "StartUnitReplace", &error, NULL, "sss", SPECIAL_BASIC_TARGET, target, mode); /* Don't print a warning if we aren't called during startup */ if (r < 0 && !sd_bus_error_has_name(&error, BUS_ERROR_NO_SUCH_JOB)) |