X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstring%2Fexplicit_bzero.c;h=f2e12f2375e2d63d594af539b3ad39d68e0c8422;hb=f897461d4fe72bb71854a6d0662de83008caccb7;hp=3d27004046a5a5ea8f646d1ed0653cac1b54df58;hpb=05ac345f895098657cf44d419b5d572161ebaf43;p=musl 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"); }