Commit 533c8b27 authored by James Simmons's avatar James Simmons Committed by Linus Torvalds

[PATCH] Console font size fix

The font size needs to be set for all terminals.

This was the bug that was causing dual head (vga and mda) to lock up.
parent 81f8d5bc
...@@ -869,13 +869,13 @@ int vt_ioctl(struct tty_struct *tty, struct file * file, ...@@ -869,13 +869,13 @@ int vt_ioctl(struct tty_struct *tty, struct file * file,
if (clin > 32) if (clin > 32)
return -EINVAL; return -EINVAL;
if (vlin) for (i = 0; i < MAX_NR_CONSOLES; i++) {
vc->vc_scan_lines = vlin; if (vlin)
if (clin) vc_cons[i].d->vc_scan_lines = vlin;
vc->vc_font.height = clin; if (clin)
vc_cons[i].d->vc_font.height = clin;
for (i = 0; i < MAX_NR_CONSOLES; i++)
vc_resize(i, cc, ll); vc_resize(i, cc, ll);
}
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment