From fd20e74b2f3971f1438d78427925dd5985c6e658 Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 5 Jan 2002 17:05:30 +0000 Subject: [PATCH] fixed memset --- bcheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bcheck.c b/bcheck.c index 3750f8c9..f4351cf5 100644 --- a/bcheck.c +++ b/bcheck.c @@ -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 */