From e7886786a6fec22fa770eb1554781d5f82c4b349 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 28 Jun 2011 02:53:49 +0200 Subject: [PATCH] logind: properly preallocate configured auto VTs --- src/logind-seat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logind-seat.c b/src/logind-seat.c index df91cd0..bc695fe 100644 --- a/src/logind-seat.c +++ b/src/logind-seat.c @@ -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); -- 2.7.4