summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2011-01-12 19:53:56 +0000
committermdf <mdf@FreeBSD.org>2011-01-12 19:53:56 +0000
commit8045b08e4df0219c258a95afc6a654c8ba4f3494 (patch)
tree8a1b3ef398eb3f730dd98cd8346c8e47be7d3821 /sys/dev/sound
parent5e41205b166387321bf83101cb158e537c71dc58 (diff)
downloadFreeBSD-src-8045b08e4df0219c258a95afc6a654c8ba4f3494.zip
FreeBSD-src-8045b08e4df0219c258a95afc6a654c8ba4f3494.tar.gz
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the rest of the devices.
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/pcm/sound.c2
1 files changed, 1 insertions, 1 deletions
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),
OpenPOWER on IntegriCloud