Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2010 12:23:50 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r210346 - head/sys/kern
Message-ID:  <201007211223.o6LCNorp015981@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed Jul 21 12:23:49 2010
New Revision: 210346
URL: http://svn.freebsd.org/changeset/base/210346

Log:
  Use proper sysctl type (quad) for et_frequency. It fixes output on sparc64.

Modified:
  head/sys/kern/kern_et.c

Modified: head/sys/kern/kern_et.c
==============================================================================
--- head/sys/kern/kern_et.c	Wed Jul 21 12:14:50 2010	(r210345)
+++ head/sys/kern/kern_et.c	Wed Jul 21 12:23:49 2010	(r210346)
@@ -62,8 +62,8 @@ et_register(struct eventtimer *et)
 	SYSCTL_ADD_UINT(NULL, SYSCTL_CHILDREN(et->et_sysctl), OID_AUTO,
 	    "flags", CTLFLAG_RD, &(et->et_flags), 0,
 	    "Event timer capabilities");
-	SYSCTL_ADD_INT(NULL, SYSCTL_CHILDREN(et->et_sysctl), OID_AUTO,
-	    "frequency", CTLFLAG_RD, &(et->et_frequency), 0,
+	SYSCTL_ADD_QUAD(NULL, SYSCTL_CHILDREN(et->et_sysctl), OID_AUTO,
+	    "frequency", CTLFLAG_RD, &(et->et_frequency),
 	    "Event timer base frequency");
 	SYSCTL_ADD_INT(NULL, SYSCTL_CHILDREN(et->et_sysctl), OID_AUTO,
 	    "quality", CTLFLAG_RD, &(et->et_quality), 0,



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