patch-2.2.16 linux/drivers/char/console.c
Next file: linux/drivers/char/cpia.c
Previous file: linux/drivers/char/README.computone
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jun 7 14:26:42 2000
- Orig file:
v2.2.15/linux/drivers/char/console.c
- Orig date:
Wed May 3 17:16:33 2000
diff -urN v2.2.15/linux/drivers/char/console.c linux/drivers/char/console.c
@@ -684,7 +684,7 @@
else {
unsigned short *p = (unsigned short *) kmalloc(ss, GFP_USER);
if (!p) {
- for (i = 0; i< currcons; i++)
+ for (i = first; i< currcons; i++)
if (newscreens[i])
kfree_s(newscreens[i], ss);
return -ENOMEM;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)