summaryrefslogtreecommitdiffstats
path: root/Documentation/ioctl
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2008-09-27 19:32:17 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-09-27 19:32:17 +0200
commitd0eb40628e29c2bb3b5f8242b1d2f50b1a88d9da (patch)
treefbe19f71d15482fb6778505ced8ff806e65e78f3 /Documentation/ioctl
parent278ecfb8f4100c0edc2bc77695b591ea16388829 (diff)
downloadlinux-d0eb40628e29c2bb3b5f8242b1d2f50b1a88d9da.tar.bz2
cdrom: update ioctl documentation
Correct copy-paste problem: CDROMCLOSETRAY is about closing the tray, not opening it. Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'Documentation/ioctl')
-rw-r--r--Documentation/ioctl/cdrom.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/ioctl/cdrom.txt b/Documentation/ioctl/cdrom.txt
index 62d4af44ec4a..59df81c8da2b 100644
--- a/Documentation/ioctl/cdrom.txt
+++ b/Documentation/ioctl/cdrom.txt
@@ -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: