logind: properly preallocate configured auto VTs

This commit is contained in:
Lennart Poettering
2011-06-28 02:53:49 +02:00
parent 15e11d81e7
commit e7886786a6
+1 -1
View File
@@ -199,7 +199,7 @@ static int seat_preallocate_vts(Seat *s) {
if (!seat_is_vtconsole(s))
return 0;
for (i = 1; i < s->manager->n_autovts; i++) {
for (i = 1; i <= s->manager->n_autovts; i++) {
int q;
q = vt_allocate(i);