diff --git a/libc/bionic/ndk_cruft.cpp b/libc/bionic/ndk_cruft.cpp index 5964c6375..042943005 100644 --- a/libc/bionic/ndk_cruft.cpp +++ b/libc/bionic/ndk_cruft.cpp @@ -247,7 +247,7 @@ sighandler_t bsd_signal(int signum, sighandler_t handler) { // This was removed from POSIX 2008. #undef bcopy void bcopy(const void* src, void* dst, size_t n) { - memcpy(dst, src, n); + memmove(dst, src, n); } #else // x86 has an assembler implementation.