Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2014 17:17:23 +0000 (UTC)
From:      Maksim Yevmenkin <emax@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r264736 - stable/10/sys/dev/cxgbe
Message-ID:  <201404211717.s3LHHNVw036601@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emax
Date: Mon Apr 21 17:17:23 2014
New Revision: 264736
URL: http://svnweb.freebsd.org/changeset/base/264736

Log:
  MFC r264621
  
  use correct (integer) type for the temperature sysctl
  
  Reviewed by:	np, scottl
  Obtained from:	Netflix

Modified:
  stable/10/sys/dev/cxgbe/t4_main.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/cxgbe/t4_main.c
==============================================================================
--- stable/10/sys/dev/cxgbe/t4_main.c	Mon Apr 21 16:55:02 2014	(r264735)
+++ stable/10/sys/dev/cxgbe/t4_main.c	Mon Apr 21 17:17:23 2014	(r264736)
@@ -4266,7 +4266,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?201404211717.s3LHHNVw036601>