Skip to content
Snippets Groups Projects
Commit 958c5c5e authored by Avi Kivity's avatar Avi Kivity
Browse files

libc: fix strcpy()

Implemented strcat() accidentally.
parent e02797df
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,6 @@
char* strcpy(char* dest, const char* src)
{
char* p = dest;
while (*p) {
++p;
}
while (*src) {
*p++ = *src++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment