Skip to contentSkip to conversation

cdrom: update ioctl documentation

PATCH New Németh Márton 1 participant 1 message Sep 16, 2008 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cdrom: update ioctl documentation

From: Márton Németh <[email protected]>

Correct copy-paste problem: CDROMCLOSETRAY is about closing the tray, not opening it.

---

Documentation/ioctl/cdrom.txt renamed from Documentation/ioctl/cdrom.txt.orig +2 -2
@@ -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: