patch-1.3.14 linux/drivers/char/vt.c

Next file: linux/drivers/net/atp.c
Previous file: linux/drivers/char/psaux.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.13/linux/drivers/char/vt.c linux/drivers/char/vt.c
@@ -169,7 +169,7 @@
 		outb((count >> 8) & 0xff, 0x42);
 
 		if (ticks) {
-			sound_timer.expires = ticks;
+			sound_timer.expires = jiffies+ticks;
 			add_timer(&sound_timer);
 		}
 	} else

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this