summaryrefslogtreecommitdiff
path: root/sys/dev/rasops
diff options
context:
space:
mode:
authorFrederic Cambus <fcambus@cvs.openbsd.org>2017-08-22 12:24:46 +0000
committerFrederic Cambus <fcambus@cvs.openbsd.org>2017-08-22 12:24:46 +0000
commit2e3ca97f3da9272772d58aefcdab59326b3bacc9 (patch)
tree68f92d62938f54a849875cd76ba66822267f81f9 /sys/dev/rasops
parentd80d95334aaed2119c9ec3053e697a512f95911d (diff)
Update inaccurate comment: rasops_copycols() doesn't use bcopy()
anymore, but either memmove() or slow_bcopy(). OK nayden@
Diffstat (limited to 'sys/dev/rasops')
-rw-r--r--sys/dev/rasops/rasops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/rasops/rasops.c b/sys/dev/rasops/rasops.c
index 2fdbfb1266a..778c355549b 100644
--- a/sys/dev/rasops/rasops.c
+++ b/sys/dev/rasops/rasops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rasops.c,v 1.47 2017/08/17 20:21:53 kettenis Exp $ */
+/* $OpenBSD: rasops.c,v 1.48 2017/08/22 12:24:45 fcambus Exp $ */
/* $NetBSD: rasops.c,v 1.35 2001/02/02 06:01:01 marcus Exp $ */
/*-
@@ -661,8 +661,8 @@ rasops_copyrows(void *cookie, int src, int dst, int 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
- * these cases anyway.
+ * We simply cop-out here and use either memmove() or slow_bcopy(),
+ * since they handle all of these cases anyway.
*/
int
rasops_copycols(void *cookie, int row, int src, int dst, int num)