git: 74c303e4ace2 - main - gpioths(4): Correct the sysctl names in manual page
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Mar 2022 14:14:57 UTC
The branch main has been updated by otis (ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=74c303e4ace2a1aa60b5b3df8af05d6b61d20006
commit 74c303e4ace2a1aa60b5b3df8af05d6b61d20006
Author: Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2022-03-06 21:33:29 +0000
Commit: Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2022-03-08 14:09:21 +0000
gpioths(4): Correct the sysctl names in manual page
Temperature is exposed via 'temperature' leaf, humidity via 'humidity'
leaf. Align the manual page with the actual variable names.
Approved by: manu
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D34460
---
share/man/man4/gpioths.4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/man/man4/gpioths.4 b/share/man/man4/gpioths.4
index 19250b13107e..2712d6c570e2 100644
--- a/share/man/man4/gpioths.4
+++ b/share/man/man4/gpioths.4
@@ -76,12 +76,12 @@ but this driver supports only the single-wire connection option.
Sysctl variables are used to access the most recent temperature and
humidity measurements.
.Bl -tag -width indent
-.It Va dev.gpioths.<unit>.temp
+.It Va dev.gpioths.<unit>.temperature
The current temperature in integer deciKelvins.
Note that
.Xr sysctl 8
will convert those units to display in decimal degrees Celsius.
-.It Va dev.gpioths.<unit>.hum
+.It Va dev.gpioths.<unit>.humidity
The current relative humidity, as an integer percentage.
.It Va dev.gpioths.<unit>.fails
The number of failed attempts to communicate with the sensor since