1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00

use correct (integer) type for the temperature sysctl

Reviewed by:	np, scottl
Obtained from:	Netflix
MFC after:	3 days
This commit is contained in:
Maksim Yevmenkin 2014-04-17 19:29:15 +00:00
parent beb4f781a5
commit 080a4b9b1c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264621

View File

@ -4332,7 +4332,7 @@ t4_sysctls(struct adapter *sc)
NULL, sc->tids.nftids, "number of filters");
SYSCTL_ADD_PROC(ctx, children, OID_AUTO, "temperature", CTLTYPE_INT |
CTLFLAG_RD, sc, 0, sysctl_temperature, "A",
CTLFLAG_RD, sc, 0, sysctl_temperature, "I",
"chip temperature (in Celsius)");
t4_sge_sysctls(sc, ctx, children);