fixed memset

This commit is contained in:
bellard 2002-01-05 17:05:30 +00:00
parent 4a922fa9ed
commit fd20e74b2f

View File

@ -802,7 +802,7 @@ void *__bound_memmove(void *dst, const void *src, size_t size)
void *__bound_memset(void *dst, int c, size_t size)
{
__bound_check(dst, size);
return memset(dst, 0, size);
return memset(dst, c, size);
}
/* resolve check check syms */