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>
This commit is contained in:
parent
278ecfb8f4
commit
d0eb40628e
|
@ -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:
|
||||||
|
|
Reference in New Issue