From 8045b08e4df0219c258a95afc6a654c8ba4f3494 Mon Sep 17 00:00:00 2001 From: mdf Date: Wed, 12 Jan 2011 19:53:56 +0000 Subject: sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. Commit the rest of the devices. --- sys/dev/sound/pcm/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/sound') diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c index 08a831a..caa7841 100644 --- a/sys/dev/sound/pcm/sound.c +++ b/sys/dev/sound/pcm/sound.c @@ -1068,7 +1068,7 @@ pcm_register(device_t dev, void *devinfo, int numplay, int numrec) CTLFLAG_RD, 0, "record channels node"); /* XXX: an user should be able to set this with a control tool, the sysadmin then needs min+max sysctls for this */ - SYSCTL_ADD_INT(device_get_sysctl_ctx(dev), + SYSCTL_ADD_UINT(device_get_sysctl_ctx(dev), SYSCTL_CHILDREN(device_get_sysctl_tree(dev)), OID_AUTO, "buffersize", CTLFLAG_RD, &d->bufsz, 0, "allocated buffer size"); SYSCTL_ADD_PROC(device_get_sysctl_ctx(dev), -- cgit v1.1