patch-2.0.34 linux/drivers/cdrom/cdrom.c
Next file: linux/drivers/char/Config.in
Previous file: linux/drivers/block/xd.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Jun 3 15:17:47 1998
- Orig file:
v2.0.33/linux/drivers/cdrom/cdrom.c
- Orig date:
Sat Aug 17 11:19:26 1996
diff -u --recursive --new-file v2.0.33/linux/drivers/cdrom/cdrom.c linux/drivers/cdrom/cdrom.c
@@ -97,7 +97,9 @@
/* We need our own cdrom error types! This is a temporary solution. */
+#ifndef ENOMEDIUM
#define ENOMEDIUM EAGAIN /* no medium in removable device */
+#endif
/* We use the open-option O_NONBLOCK to indicate that the
* purpose of opening is only for subsequent ioctl() calls; no device
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov