about summary refs log tree commit diff
path: root/src/string/explicit_bzero.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/explicit_bzero.c')
-rw-r--r--src/string/explicit_bzero.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/explicit_bzero.c b/src/string/explicit_bzero.c
index 3d270040..f2e12f23 100644
--- 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");
 }