diff options
| author | Márton Németh <nm127@freemail.hu> | 2008-09-27 13:32:17 -0400 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-09-27 13:32:17 -0400 |
| commit | d0eb40628e29c2bb3b5f8242b1d2f50b1a88d9da (patch) | |
| tree | fbe19f71d15482fb6778505ced8ff806e65e78f3 | |
| parent | 278ecfb8f4100c0edc2bc77695b591ea16388829 (diff) | |
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>
| -rw-r--r-- | Documentation/ioctl/cdrom.txt | 4 |
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 | |||
| 271 | 271 | ||
| 272 | usage: | 272 | usage: |
| 273 | 273 | ||
| 274 | ioctl(fd, CDROMEJECT, 0); | 274 | ioctl(fd, CDROMCLOSETRAY, 0); |
| 275 | 275 | ||
| 276 | inputs: none | 276 | inputs: none |
| 277 | 277 | ||
| 278 | outputs: none | 278 | outputs: none |
| 279 | 279 | ||
| 280 | error returns: | 280 | error returns: |
| 281 | ENOSYS cd drive not capable of ejecting | 281 | ENOSYS cd drive not capable of closing the tray |
| 282 | EBUSY other processes are accessing drive, or door is locked | 282 | EBUSY other processes are accessing drive, or door is locked |
| 283 | 283 | ||
| 284 | notes: | 284 | notes: |
