patch-1.3.5 linux/drivers/char/lp.c
Next file: linux/drivers/char/psaux.c
Previous file: linux/drivers/char/consolemap.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jun 27 13:33:29 1995
- Orig file:
v1.3.4/linux/drivers/char/lp.c
- Orig date:
Tue Jun 27 14:11:34 1995
diff -u --recursive --new-file v1.3.4/linux/drivers/char/lp.c linux/drivers/char/lp.c
@@ -588,7 +588,7 @@
else {
unregister_chrdev(LP_MAJOR,"lp");
for (offset = 0; offset < LP_NO; offset++)
- if(LP_F(offset) && LP_EXIST)
+ if (LP_F(offset) & LP_EXIST)
release_region(LP_B(offset),3);
}
}
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