diff options
author | Bastien Roucariès <rouca@debian.org> | 2020-04-14 00:48:16 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-04-14 00:48:16 +0200 |
commit | 2d665c8822a38b8432f3b622a88886b7b48effbe (patch) | |
tree | 30f58dac55dc8d77950360116900fa111a928264 /lib | |
parent | 6235c6c354a08976b7d6009eed7f1931a568e984 (diff) | |
download | gnulib-2d665c8822a38b8432f3b622a88886b7b48effbe.tar.gz |
explicit_bzero: Improve code style.
* lib/explicit_bzero.c (explicit_bzero): Use '\0' instead of 0.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/explicit_bzero.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/explicit_bzero.c b/lib/explicit_bzero.c index 4897327918..b1df418e53 100644 --- a/lib/explicit_bzero.c +++ b/lib/explicit_bzero.c @@ -51,7 +51,7 @@ explicit_bzero (void *s, size_t len) #if defined _WIN32 && !defined __CYGWIN__ (void) SecureZeroMemory (s, len); #elif HAVE_EXPLICIT_MEMSET - explicit_memset (s, 0, len); + explicit_memset (s, '\0', len); #elif HAVE_MEMSET_S (void) memset_s (s, len, '\0', len); #else |