From ad0a15855d9ddadb1ce8933899634a4fc0d0bae9 Mon Sep 17 00:00:00 2001 From: Horst Schirmeier Date: Wed, 25 Jun 2014 23:23:47 +0200 Subject: [PATCH] import-trace: log output number formatting fixed Change-Id: Ifb81df86cb16254c04c946fa2cefca7030d2dd7a --- tools/import-trace/Importer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/import-trace/Importer.cc b/tools/import-trace/Importer.cc index 0e03ec9e..4e0d4797 100644 --- a/tools/import-trace/Importer.cc +++ b/tools/import-trace/Importer.cc @@ -382,7 +382,7 @@ bool Importer::add_trace_event(margin_info_t &begin, margin_info_t &end, m_row_count ++; if (m_row_count % 10000 == 0) { - LOG << "Inserted " << m_row_count << " trace events into the database" << std::endl; + LOG << "Inserted " << std::dec << m_row_count << " trace events into the database" << std::endl; } return true; @@ -446,6 +446,6 @@ bool Importer::close_ec_intervals() { } } - LOG << "Inserted " << (m_row_count - row_count_real) << " fake trace events into the database" << std::endl; + LOG << "Inserted " << std::dec << (m_row_count - row_count_real) << " fake trace events into the database" << std::endl; return true; }