From: Márton Németh Date: Sat, 27 Sep 2008 17:32:17 +0000 (+0200) Subject: cdrom: update ioctl documentation X-Git-Tag: v2.6.27-rc8~3^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d0eb40628e29c2bb3b5f8242b1d2f50b1a88d9da;p=linux-2.6-omap-h63xx.git cdrom: update ioctl documentation Correct copy-paste problem: CDROMCLOSETRAY is about closing the tray, not opening it. Signed-off-by: Márton Németh Signed-off-by: Andrew Morton Cc: Jens Axboe Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/Documentation/ioctl/cdrom.txt b/Documentation/ioctl/cdrom.txt index 62d4af44ec4..59df81c8da2 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: