summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2005-11-15 04:19:27 +0000
committerkan <kan@FreeBSD.org>2005-11-15 04:19:27 +0000
commitd54182e3d7be43c43c7749f6311cdcf0eec69956 (patch)
tree6151ad136a80a7249561163473a1483518fc3bf2
parent92c433a7228ece0d0ce208728d3edf155a3b3398 (diff)
downloadFreeBSD-src-d54182e3d7be43c43c7749f6311cdcf0eec69956.zip
FreeBSD-src-d54182e3d7be43c43c7749f6311cdcf0eec69956.tar.gz
Unbreak kernel builds.
Submitted by: arr
-rw-r--r--sys/dev/sound/pcm/channel.c4
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;
OpenPOWER on IntegriCloud