Skip to content
Snippets Groups Projects
Commit d0eb4062 authored by Márton Németh's avatar Márton Németh Committed by Bartlomiej Zolnierkiewicz
Browse files

cdrom: update ioctl documentation


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

Signed-off-by: default avatarMárton Németh <nm127@freemail.hu>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 278ecfb8
No related branches found
No related tags found
No related merge requests found
...@@ -271,14 +271,14 @@ CDROMCLOSETRAY pendant of CDROMEJECT ...@@ -271,14 +271,14 @@ CDROMCLOSETRAY pendant of CDROMEJECT
usage: usage:
ioctl(fd, CDROMEJECT, 0); ioctl(fd, CDROMCLOSETRAY, 0);
inputs: none inputs: none
outputs: none outputs: none
error returns: 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 EBUSY other processes are accessing drive, or door is locked
notes: notes:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment