1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Avoid entering IOCCC with a memcpy turned bcopy.

This commit is contained in:
Poul-Henning Kamp 2002-06-05 11:56:12 +00:00
parent 4dc0da3f3e
commit 7cbccd7f79
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97863

View File

@ -296,13 +296,13 @@ ofw_exit(void)
}
static void
bcopy(const void *dst, void *src, size_t len)
bcopy(const void *src, void *dst, size_t len)
{
const char *d = dst;
char *s = src;
const char *s = src;
char *d = dst;
while (len-- != 0)
*s++ = *d++;
*d++ = *s++;
}
static void