diff options
Diffstat (limited to 'llvm/lib/Support/Chrono.cpp')
-rw-r--r-- | llvm/lib/Support/Chrono.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Chrono.cpp b/llvm/lib/Support/Chrono.cpp index 8c28d45d8822..859ece8f5500 100644 --- a/llvm/lib/Support/Chrono.cpp +++ b/llvm/lib/Support/Chrono.cpp @@ -74,7 +74,7 @@ void format_provider<TimePoint<>>::format(const TimePoint<> &T, raw_ostream &OS, continue; case 'N': // Nanoseconds, from date(1). FStream << llvm::format( - "%.6lu", (long)duration_cast<nanoseconds>(Fractional).count()); + "%.9lu", (long)duration_cast<nanoseconds>(Fractional).count()); ++I; continue; case '%': // Consume %%, so %%f parses as (%%)f not %(%f) |