vconsole: copy font to 63 consoles instead of 15
We copy only to allocated consoles, so the cost of looping over all possible ones is minuscule.
This commit is contained in:
parent
c2f2c51c53
commit
9fa71843bb
|
@ -209,7 +209,7 @@ static void font_copy_to_all_vcs(int fd) {
|
|||
return;
|
||||
}
|
||||
|
||||
for (i = 1; i <= 15; i++) {
|
||||
for (i = 1; i <= 63; i++) {
|
||||
char vcname[strlen("/dev/vcs") + DECIMAL_STR_MAX(int)];
|
||||
_cleanup_close_ int vcfd = -1;
|
||||
struct console_font_op cfo = {};
|
||||
|
|
Loading…
Reference in a new issue