Make sure we print timestamps correctly to 9 places since we are printing nanoseconds.

<rdar://problem/21090231>

llvm-svn: 238334
This commit is contained in:
Greg Clayton 2015-05-27 16:25:01 +00:00
parent 85a53a1ed5
commit dead71a829
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ Log::VAPrintf(const char *format, va_list args)
if (m_options.Test (LLDB_LOG_OPTION_PREPEND_TIMESTAMP))
{
TimeValue now = TimeValue::Now();
header.Printf ("%9d.%6.6d ", now.seconds(), now.nanoseconds());
header.Printf ("%9d.%09.9d ", now.seconds(), now.nanoseconds());
}
// Add the process and thread if requested