commit | 72b77ebc8af054bc34b7da433a6642a9c6241c79 | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Fri Feb 04 21:13:05 2011 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Fri Feb 04 21:13:05 2011 +0000 |
tree | 59e7dcf0c934ca0b23e2f356a3ebb5bf1a7e26b0 | |
parent | d2e2f56c3654a07b42fe1bd47ad3a832ce0d74ea [diff] [blame] |
Remove bzero use and replace with memset (patch from Kirk Beitz). llvm-svn: 124897
diff --git a/lldb/source/Core/Log.cpp b/lldb/source/Core/Log.cpp index ceead58..49bd653 100644 --- a/lldb/source/Core/Log.cpp +++ b/lldb/source/Core/Log.cpp
@@ -356,7 +356,7 @@ log_callbacks = pos->second; return true; } - ::bzero (&log_callbacks, sizeof(log_callbacks)); + ::memset (&log_callbacks, 0, sizeof(log_callbacks)); return false; }