diff options
author | orion <orion@FreeBSD.org> | 2001-09-03 01:05:04 +0000 |
---|---|---|
committer | orion <orion@FreeBSD.org> | 2001-09-03 01:05:04 +0000 |
commit | 693f6a6f4e80a5eba2566ffd4a9104e5a0d0a06b (patch) | |
tree | d44a0f6879f8a1a16e5220aad99f946a529c95ba /sys | |
parent | 9f07ad162e1e2bfb6c3a6ffa9b6e53b57cb60dc3 (diff) | |
download | FreeBSD-src-693f6a6f4e80a5eba2566ffd4a9104e5a0d0a06b.zip FreeBSD-src-693f6a6f4e80a5eba2566ffd4a9104e5a0d0a06b.tar.gz |
Fix return value of cs4281chan_setblocksize.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sound/pci/cs4281.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/cs4281.c b/sys/dev/sound/pci/cs4281.c index 066ffb0..3abaf45 100644 --- a/sys/dev/sound/pci/cs4281.c +++ b/sys/dev/sound/pci/cs4281.c @@ -354,7 +354,7 @@ cs4281chan_setblocksize(kobj_t obj, void *data, u_int32_t blocksize) DEB(printf("cs4281chan_setblocksize: bufsz %d Setting %d\n", blocksize, ch->blksz)); - return sndbuf_getsize(ch->buffer); + return blocksize; } static int |