Skip to contentSkip to conversation

hdio.txt: fix typos

PATCH New Andrey Utkin 1 participant 1 message May 16, 2013 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hdio.txt: fix typos

Example code contained incorrect ioctl call name.

---
 Documentation/ioctl/hdio.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/ioctl/hdio.txt +2 -2
index 18eb98c..69e4ed3 100644
@@ -453,7 +453,7 @@ HDIO_GET_BUSSTATE		get the bus state of the hwif
 	usage:
 
 	  long state;
-	  ioctl(fd, HDIO_SCAN_HWIF, &state);
+	  ioctl(fd, HDIO_GET_BUSSTATE, &state);
 
 	inputs:		none
 
@@ -473,7 +473,7 @@ HDIO_SET_BUSSTATE		set the bus state of the hwif
 
 	  int state;
 	  ...
-	  ioctl(fd, HDIO_SCAN_HWIF, state);
+	  ioctl(fd, HDIO_SET_BUSSTATE, state);
 
 	inputs:
 	  Desired IDE power state.  One of BUSSTATE_OFF, BUSSTATE_ON,
Signature · 1 line
1.7.12.4