Subject: Re: bufq and sysctl question
To: Juan RP <juan@xtrarom.org>
From: Iain Hibbert <plunky@rya-online.net>
List: tech-kern
Date: 01/22/2006 10:58:23
On Sun, 22 Jan 2006, Juan RP wrote:

> Does anyone know what's the problem?

+	sysctl_createv(clog, 0, &rnode, &cnode,
+			CTLFLAG_READWRITE,
+			CTLTYPE_INT, "noncritical",
+			SYSCTL_DESCR("size of the noncritical queue"),
+			sysctl_priocscan_burst_minmaxsize, 0,
+			&priocscan_burst_noncritical, 0,
						     ^^^
+			CTL_CREATE, rnode->sysctl_num, CTL_EOL);

shouldnt this be the sizeof the variable if you want sysctl to copy the
value over?

iain