patch-1.3.22 linux/drivers/char/lp.c

Next file: linux/drivers/char/mem.c
Previous file: linux/drivers/char/cyclades.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.21/linux/drivers/char/lp.c linux/drivers/char/lp.c
@@ -409,7 +409,7 @@
 		return -ENODEV;
 	switch ( cmd ) {
 		case LPTIME:
-			LP_TIME(minor) = arg;
+			LP_TIME(minor) = arg * HZ/100;
 			break;
 		case LPCHAR:
 			LP_CHAR(minor) = arg;

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