aboutsummaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/cacheq.c
diff options
context:
space:
mode:
Diffstat (limited to 'libshouldbeinlibc/cacheq.c')
-rw-r--r--libshouldbeinlibc/cacheq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libshouldbeinlibc/cacheq.c b/libshouldbeinlibc/cacheq.c
index 5912f84c..d3a7591f 100644
--- a/libshouldbeinlibc/cacheq.c
+++ b/libshouldbeinlibc/cacheq.c
@@ -95,7 +95,7 @@ cacheq_set_length (struct cacheq *cq, int length)
(!th || th >= end) ? 0 : (void *)th + esz;
if (fh && th)
- bcopy (fh, th, esz); /* Copy the bits in a moved entry. */
+ memcpy (th, fh, esz); /* Copy the bits in a moved entry. */
else if (th)
memset (th, 0, esz); /* Zero the bits in a new entry. */