From: Márton Németh Date: Sat, 27 Sep 2008 17:32:17 +0000 (+0200) Subject: cdrom: update ioctl documentation X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d0eb40628e29c2bb3b5f8242b1d2f50b1a88d9da;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 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: