Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2014 19:29:15 +0000 (UTC)
From:      Maksim Yevmenkin <emax@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264621 - head/sys/dev/cxgbe
Message-ID:  <201404171929.s3HJTFH3006974@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404171929.s3HJTFH3006974>