diff options
Diffstat (limited to 'sys/dev/sound/pcm/channel.c')
-rw-r--r-- | sys/dev/sound/pcm/channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c index 0da40db..be32d02 100644 --- a/sys/dev/sound/pcm/channel.c +++ b/sys/dev/sound/pcm/channel.c @@ -1074,8 +1074,8 @@ round_bufsz(int bufsz, int min, int max) { int tmp = min * 2; - KASSERT( min & (min-1) == 0, ("min %d must be power of 2\n", min)); - KASSERT( max & (max-1) == 0, ("max %d must be power of 2\n", max)); + KASSERT((min & (min-1)) == 0, ("min %d must be power of 2\n", min)); + KASSERT((max & (max-1)) == 0, ("max %d must be power of 2\n", max)); while (tmp <= bufsz) tmp <<= 1; tmp >>= 1; |