diff options
| author | Guillaume Chatelet <gchatelet@google.com> | 2022-09-26 12:33:01 +0000 |
|---|---|---|
| committer | Guillaume Chatelet <gchatelet@google.com> | 2022-09-26 12:34:10 +0000 |
| commit | 8a55dafdd0952529cbf9a03116035d1b0403e7ea (patch) | |
| tree | 51f4beaea18cdc4f708863c32f008fb199a1b89a /libc/src/string/bzero.cpp | |
| parent | 91babd351665e867c9cc4be22bc3daee8f639942 (diff) | |
[libc][NFC] introduce inline_bzero
Diffstat (limited to 'libc/src/string/bzero.cpp')
| -rw-r--r-- | libc/src/string/bzero.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/string/bzero.cpp b/libc/src/string/bzero.cpp index c57c922f6eff..f852089507de 100644 --- a/libc/src/string/bzero.cpp +++ b/libc/src/string/bzero.cpp @@ -13,7 +13,7 @@ namespace __llvm_libc { LLVM_LIBC_FUNCTION(void, bzero, (void *ptr, size_t count)) { - inline_memset(reinterpret_cast<char *>(ptr), 0, count); + inline_bzero(reinterpret_cast<char *>(ptr), count); } } // namespace __llvm_libc |
