* [PATCH] cdrom: update ioctl documentation
@ 2008-09-16 19:51 Németh Márton
0 siblings, 0 replies; only message in thread
From: Németh Márton @ 2008-09-16 19:51 UTC (permalink / raw)
To: Jens Axboe; +Cc: LKML, Trivial Patch Monkey
From: Márton Németh <nm127@freemail.hu>
Correct copy-paste problem: CDROMCLOSETRAY is about closing the tray,
not opening it.
Signed-off-by: Márton Németh <nm127@freemail.hu>
---
--- linux-2.6.27-rc6/Documentation/ioctl/cdrom.txt.orig 2008-07-13 23:51:29.000000000 +0200
+++ linux-2.6.27-rc6/Documentation/ioctl/cdrom.txt 2008-09-16 20:29:16.000000000 +0200
@@ -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:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-16 19:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-16 19:51 [PATCH] cdrom: update ioctl documentation Németh Márton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox