[PATCH] cdrom: update ioctl documentation

From: NÃmeth MÃrton
Date: Tue Sep 16 2008 - 15:52:14 EST


From: MÃrton NÃmeth <nm127@xxxxxxxxxxx>

Correct copy-paste problem: CDROMCLOSETRAY is about closing the tray,
not opening it.

Signed-off-by: MÃrton NÃmeth <nm127@xxxxxxxxxxx>
---
--- linux-2.6.27-rc6/Documentation/ioctl/cdrom.txt.orig 2008-07-13 23:51:29.000000000 +0200
+++ linux-2.6.27-rc6/Documentation/ioctl/cdrom.txt 2008-09-16 20:29:16.000000000 +0200
@@ -271,14 +271,14 @@ CDROMCLOSETRAY pendant of CDROMEJECT

usage:

- ioctl(fd, CDROMEJECT, 0);
+ ioctl(fd, CDROMCLOSETRAY, 0);

inputs: none

outputs: none

error returns:
- ENOSYS cd drive not capable of ejecting
+ ENOSYS cd drive not capable of closing the tray
EBUSY other processes are accessing drive, or door is locked

notes:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/