chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logind: properly preallocate configured auto VTs
[elogind.git]
/
src
/
logind-seat.c
diff --git
a/src/logind-seat.c
b/src/logind-seat.c
index df91cd0d8a53ebc057dd77a197bc84e11be8953c..bc695fea837f7daddd9e9393443e952deaec548f 100644
(file)
--- 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;
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);
int q;
q = vt_allocate(i);