svn commit: r264621 - head/sys/dev/cxgbe
Maksim Yevmenkin
emax at FreeBSD.org
Thu Apr 17 19:29:15 UTC 2014
Author: emax
Date: Thu Apr 17 19:29:15 2014
New Revision: 264621
URL: http://svnweb.freebsd.org/changeset/base/264621
Log:
use correct (integer) type for the temperature sysctl
Reviewed by: np, scottl
Obtained from: Netflix
MFC after: 3 days
Modified:
head/sys/dev/cxgbe/t4_main.c
Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c Thu Apr 17 18:13:23 2014 (r264620)
+++ head/sys/dev/cxgbe/t4_main.c Thu Apr 17 19:29:15 2014 (r264621)
@@ -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);
More information about the svn-src-all
mailing list