fsck,sulogin: fix cargo-culted comment

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2022-07-14 16:46:24 +02:00
parent da69e8e430
commit 640dc2f3ad
2 changed files with 4 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ static void start_target(const char *target, const char *mode) {
log_info("Running request %s/start/%s", target, mode);
/* Start these units only if we can replace base.target with it */
/* Start this unit only if we can replace basic.target with it */
r = sd_bus_call_method(bus,
"org.freedesktop.systemd1",
"/org/freedesktop/systemd1",

View File

@@ -49,9 +49,9 @@ static int start_default_target(sd_bus *bus) {
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
int r;
log_info("Starting default target");
log_info("Starting "SPECIAL_DEFAULT_TARGET);
/* Start these units only if we can replace base.target with it */
/* Start this unit only if we can replace basic.target with it */
r = sd_bus_call_method(bus,
"org.freedesktop.systemd1",
"/org/freedesktop/systemd1",
@@ -62,7 +62,7 @@ static int start_default_target(sd_bus *bus) {
"ss", SPECIAL_DEFAULT_TARGET, "isolate");
if (r < 0)
return log_error_errno(r, "Failed to start default target: %s", bus_error_message(&error, r));
return log_error_errno(r, "Failed to start "SPECIAL_DEFAULT_TARGET": %s", bus_error_message(&error, r));
return 0;
}