summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc/calloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/malloc/calloc.c')
-rw-r--r--libc/stdlib/malloc/calloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc/calloc.c b/libc/stdlib/malloc/calloc.c
index 15281a97f..94031ce29 100644
--- a/libc/stdlib/malloc/calloc.c
+++ b/libc/stdlib/malloc/calloc.c
@@ -34,7 +34,7 @@ void * calloc(size_t nmemb, size_t lsize)
return NULL;
}
if ((result=malloc(size)) != NULL) {
- memset(result, 0, size);
+ __memset(result, 0, size);
}
return result;
}