projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use libc-internal malloc for pthread_atfork
[musl]
/
src
/
string
/
explicit_bzero.c
diff --git
a/src/string/explicit_bzero.c
b/src/string/explicit_bzero.c
index
3d27004
..
f2e12f2
100644
(file)
--- a/
src/string/explicit_bzero.c
+++ b/
src/string/explicit_bzero.c
@@
-3,6
+3,6
@@
void explicit_bzero(void *d, size_t n)
{
- memset(d, 0, n);
+
d =
memset(d, 0, n);
__asm__ __volatile__ ("" : : "r"(d) : "memory");
}