[<prev] [next>] [day] [month] [year] [list]
Message-Id: <96e2fc8a1bcee8003a66eb5f20853dc36f203f30.1686407377.git.christophe.jaillet@wanadoo.fr>
Date: Sat, 10 Jun 2023 16:29:48 +0200
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
To: "David S. Miller" <davem@...emloft.net>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
sparclinux@...r.kernel.org
Subject: [PATCH] envctrl.h: Fix a typo in an example
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@...adoo.fr>
---
arch/sparc/include/uapi/asm/envctrl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sparc/include/uapi/asm/envctrl.h b/arch/sparc/include/uapi/asm/envctrl.h
index cf8aa0a14f40..ee5a712fcd0d 100644
--- a/arch/sparc/include/uapi/asm/envctrl.h
+++ b/arch/sparc/include/uapi/asm/envctrl.h
@@ -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);
--
2.34.1
Powered by blists - more mailing lists