summaryrefslogtreecommitdiff
path: root/src/logind.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logind.c')
-rw-r--r--src/logind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logind.c b/src/logind.c
index 8fa7661290..a0a89c0689 100644
--- a/src/logind.c
+++ b/src/logind.c
@@ -729,7 +729,7 @@ int manager_spawn_autovt(Manager *m, int vtnr) {
goto finish;
}
- if (asprintf(&name, "autovt-getty@tty%i.service", vtnr) < 0) {
+ if (asprintf(&name, "autovt@tty%i.service", vtnr) < 0) {
log_error("Could not allocate service name.");
r = -ENOMEM;
goto finish;