diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-06-28 02:53:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-06-28 02:53:49 +0200 |
commit | e7886786a6fec22fa770eb1554781d5f82c4b349 (patch) | |
tree | 9cd326fc090e9ef48e3195dbfb2d04cbd8386f65 | |
parent | 15e11d81e7c26439f583e1cf67ac3c712430a79e (diff) |
logind: properly preallocate configured auto VTs
-rw-r--r-- | src/logind-seat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logind-seat.c b/src/logind-seat.c index df91cd0d8a..bc695fea83 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); |