patch-2.0.1 linux/drivers/char/mem.c
Next file: linux/drivers/char/n_tty.c
Previous file: linux/drivers/char/lp.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jul 2 19:08:41 1996
- Orig file:
v2.0.0/linux/drivers/char/mem.c
- Orig date:
Sat Apr 27 15:19:51 1996
diff -u --recursive --new-file v2.0.0/linux/drivers/char/mem.c linux/drivers/char/mem.c
@@ -358,7 +358,7 @@
filp->f_op = &urandom_fops;
break;
default:
- return -ENODEV;
+ return -ENXIO;
}
if (filp->f_op && filp->f_op->open)
return filp->f_op->open(inode,filp);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov