Skip to content

Commit

Permalink
[memcpy] fixed return value
Browse files Browse the repository at this point in the history
Issue : #299
  • Loading branch information
ishnajain committed Jul 5, 2024
1 parent d721e86 commit cfd732b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/libc/string.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cfd732b

Please sign in to comment.