patch-2.1.17 linux/drivers/char/vga.c

Next file: linux/drivers/net/Config.in
Previous file: linux/drivers/char/rtc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.16/linux/drivers/char/vga.c linux/drivers/char/vga.c
@@ -134,7 +134,7 @@
   /* This is inefficient, we could just put the cursor at 0xffff,
      but perhaps the delays due to the inefficiency are useful for
      some hardware... */
-	write_vga(14, (video_mem_term - video_mem_base + 1)>>1);
+	write_vga(14, (video_mem_term - video_mem_base - 1)>>1);
 }
 
 void

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov