patch-2.1.75 linux/kernel/printk.c
Next file: linux/kernel/sysctl.c
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Dec 21 17:02:16 1997
- Orig file:
v2.1.74/linux/kernel/printk.c
- Orig date:
Fri Dec 19 15:53:05 1997
diff -u --recursive --new-file v2.1.74/linux/kernel/printk.c linux/kernel/printk.c
@@ -324,6 +324,8 @@
* that registers here.
*/
if (selected_console == 0) {
+ if (console->index < 0)
+ console->index = 0;
if (console->setup == NULL ||
console->setup(console, NULL) == 0) {
console->flags |= CON_ENABLED | CON_FIRST;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov