summaryrefslogtreecommitdiff
path: root/sys/dev/pci/auich.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/auich.c')
-rw-r--r--sys/dev/pci/auich.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/auich.c b/sys/dev/pci/auich.c
index 656940bf833..b1880c5ac72 100644
--- a/sys/dev/pci/auich.c
+++ b/sys/dev/pci/auich.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auich.c,v 1.51 2005/04/05 21:08:47 marc Exp $ */
+/* $OpenBSD: auich.c,v 1.52 2005/04/14 12:42:16 mickey Exp $ */
/*
* Copyright (c) 2000,2001 Michael Shalayeff
@@ -906,7 +906,7 @@ auich_round_blocksize(v, blk)
void *v;
int blk;
{
- return blk & ~0x3f;
+ return (blk + 0x3f) & ~0x3f;
}
int