summaryrefslogtreecommitdiff
path: root/sys/dev/isa/sbdsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isa/sbdsp.c')
-rw-r--r--sys/dev/isa/sbdsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/sbdsp.c b/sys/dev/isa/sbdsp.c
index b97e2fb5374..6f56edfc746 100644
--- a/sys/dev/isa/sbdsp.c
+++ b/sys/dev/isa/sbdsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbdsp.c,v 1.23 2004/01/09 21:32:24 brad Exp $ */
+/* $OpenBSD: sbdsp.c,v 1.24 2005/04/15 13:05:14 mickey Exp $ */
/*
* Copyright (c) 1991-1993 Regents of the University of California.
@@ -851,7 +851,7 @@ sbdsp_round_blocksize(addr, blk)
void *addr;
int blk;
{
- return blk & -4; /* round to biggest sample size */
+ return (blk + 3) & -4; /* round to biggest sample size */
}
int