diff options
Diffstat (limited to 'lldb/source/Core/DataExtractor.cpp')
| -rw-r--r-- | lldb/source/Core/DataExtractor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Core/DataExtractor.cpp b/lldb/source/Core/DataExtractor.cpp index 466f111b3b1..fbc6e80bea0 100644 --- a/lldb/source/Core/DataExtractor.cpp +++ b/lldb/source/Core/DataExtractor.cpp @@ -1981,7 +1981,7 @@ lldb::offset_t DataExtractor::PutToLog(Log *log, offset_t start_offset, if ((count % num_per_line) == 0) { // Print out any previous string if (sstr.GetSize() > 0) { - log->Printf("%s", sstr.GetData()); + log->PutString(sstr.GetString()); sstr.Clear(); } // Reset string offset and fill the current line string with address: @@ -2019,8 +2019,8 @@ lldb::offset_t DataExtractor::PutToLog(Log *log, offset_t start_offset, } } - if (sstr.GetSize() > 0) - log->Printf("%s", sstr.GetData()); + if (!sstr.Empty()) + log->PutString(sstr.GetString()); return offset; // Return the offset at which we ended up } |

