All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Németh Márton" <nm127@freemail.hu>
To: Jens Axboe <axboe@kernel.dk>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Trivial Patch Monkey <trivial@kernel.org>
Subject: [PATCH] cdrom: update ioctl documentation
Date: Tue, 16 Sep 2008 21:51:44 +0200	[thread overview]
Message-ID: <48D00E50.7080901@freemail.hu> (raw)

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:

                 reply	other threads:[~2008-09-16 19:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48D00E50.7080901@freemail.hu \
    --to=nm127@freemail.hu \
    --cc=axboe@kernel.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.