Fix output unit for Time::operator<<
[libi2ncommon] / src / timefunc.hxx
index 9961b6c..3cb34ad 100644 (file)
@@ -626,7 +626,7 @@ namespace clock {
     inline std::ostream &
     operator<< (std::ostream &os, const Time &t)
     {
-        os << I2n::to_string (t.value.tv_sec)  << "ms, "
+        os << I2n::to_string (t.value.tv_sec)  << "s, "
            << I2n::to_string (t.value.tv_nsec) << "ns"
            ;