diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2002-07-23 22:02:09 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2002-07-23 22:02:09 +0000 |
commit | 507e4043abea27ec72a6e1bea821a2e248d74d7b (patch) | |
tree | 7b72d28cf7bb404f153f3a56efb42b1a9aa8fd7f /sys | |
parent | df885202c74545f959c216ce3397152e92c86cfb (diff) |
Do not use bcopy() when you mean ovbcopy(); found the hard way by aaron@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/rasops/rasops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/rasops/rasops.c b/sys/dev/rasops/rasops.c index 5a583452d48..03f0331e303 100644 --- a/sys/dev/rasops/rasops.c +++ b/sys/dev/rasops/rasops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rasops.c,v 1.5 2002/07/17 14:49:51 miod Exp $ */ +/* $OpenBSD: rasops.c,v 1.6 2002/07/23 22:02:08 miod Exp $ */ /* $NetBSD: rasops.c,v 1.35 2001/02/02 06:01:01 marcus Exp $ */ /*- @@ -510,7 +510,7 @@ rasops_copyrows(cookie, src, dst, num) /* * Copy columns. This is slow, and hard to optimize due to alignment, * and the fact that we have to copy both left->right and right->left. - * We simply cop-out here and use bcopy(), since it handles all of + * We simply cop-out here and use ovbcopy(), since it handles all of * these cases anyway. */ void @@ -560,7 +560,7 @@ rasops_copycols(cookie, row, src, dst, num) dp = ri->ri_bits + row + dst * ri->ri_xscale; while (height--) { - bcopy(sp, dp, num); + ovbcopy(sp, dp, num); dp += ri->ri_stride; sp += ri->ri_stride; } |