From a2f64c2462282bb3cf1ad24044c97bb7d6b85e0d Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Sat, 5 Aug 2017 19:26:25 +0200 Subject: Replace bcopy with memcpy or memmove as appropriate. * boot/boot.c: Replace bcopy with memcpy or memmove as appropriate. * exec/hashexec.c: Likewise. * libps/proclist.c: Likewise, but also fix the amount of data copied. * libps/procstat.c: Likewise. * libps/spec.c: Likewise. * libshouldbeinlibc/cacheq.c: Likewise. * libshouldbeinlibc/idvec.c: Likewise. * libshouldbeinlibc/timefmt.c: Likewise. --- libshouldbeinlibc/cacheq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libshouldbeinlibc/cacheq.c') 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. */ -- cgit v1.2.3