envctrl.h: Fix a typo in an example
Commit Message
s/envtrl/envctrl/ (c missing)
This way, it matches the device name given a few lines above and the name
of the .h file
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
arch/sparc/include/uapi/asm/envctrl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -20,7 +20,7 @@
* The device name is /dev/envctrl.
* Below is sample usage:
*
- * fd = open("/dev/envtrl", O_RDONLY);
+ * fd = open("/dev/envctrl", O_RDONLY);
* if (ioctl(fd, ENVCTRL_READ_SHUTDOWN_TEMPERATURE, 0) < 0)
* printf("error\n");
* ret = read(fd, buf, 10);