diff --git a/src/lib/libc/string.c b/src/lib/libc/string.c index 8577fc4d..433704a8 100644 --- a/src/lib/libc/string.c +++ b/src/lib/libc/string.c @@ -49,7 +49,7 @@ void *memcpy(void *i, const void *j, size_t size) { *dst++ = *src++; } - return i; + return dst; } void *memmove(void *i, const void *j, size_t size)