patch-2.0.1 linux/drivers/char/lp.c
Next file: linux/drivers/char/mem.c
Previous file: linux/drivers/char/console.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Jul 2 19:08:41 1996
- Orig file:
v2.0.0/linux/drivers/char/lp.c
- Orig date:
Tue May 7 16:22:24 1996
diff -u --recursive --new-file v2.0.0/linux/drivers/char/lp.c linux/drivers/char/lp.c
@@ -322,9 +322,9 @@
unsigned int irq;
if (minor >= LP_NO)
- return -ENODEV;
+ return -ENXIO;
if ((LP_F(minor) & LP_EXIST) == 0)
- return -ENODEV;
+ return -ENXIO;
if (LP_F(minor) & LP_BUSY)
return -EBUSY;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov