patch-1.3.78 linux/drivers/char/lp.c
Next file: linux/drivers/char/pty.c
Previous file: linux/drivers/char/cyclades.c
Back to the patch index
Back to the overall index
-  Lines: 10
 -  Date:
Sun Mar 24 20:07:00 1996
 -  Orig file: 
v1.3.77/linux/drivers/char/lp.c
 -  Orig date: 
Thu Mar 21 20:36:52 1996
 
diff -u --recursive --new-file v1.3.77/linux/drivers/char/lp.c linux/drivers/char/lp.c
@@ -602,7 +602,9 @@
 {
 	int offset = 0;
 	int count = 0;
+#ifdef MODULE
 	int failed = 0;
+#endif
 
 	if (register_chrdev(LP_MAJOR,"lp",&lp_fops)) {
 		printk("lp: unable to get major %d\n", LP_MAJOR);
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