summaryrefslogtreecommitdiff
path: root/sys/dev/isa/ad1848.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isa/ad1848.c')
-rw-r--r--sys/dev/isa/ad1848.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/ad1848.c b/sys/dev/isa/ad1848.c
index 0d7b943187a..13379dc5ab2 100644
--- a/sys/dev/isa/ad1848.c
+++ b/sys/dev/isa/ad1848.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ad1848.c,v 1.30 2004/01/09 21:32:23 brad Exp $ */
+/* $OpenBSD: ad1848.c,v 1.31 2005/04/15 13:05:14 mickey Exp $ */
/* $NetBSD: ad1848.c,v 1.45 1998/01/30 02:02:38 augustss Exp $ */
/*
@@ -1156,7 +1156,7 @@ ad1848_round_blocksize(addr, blk)
sc->sc_lastcc = -1;
/* Round to a multiple of the biggest sample size. */
- blk &= -4;
+ blk = (blk + 3) & -4;
return (blk);
}