mirror of
https://github.com/systemd/systemd.git
synced 2026-11-07 13:57:10 +00:00
analyze: Fix leading zero bug in decimals for tool tip in svg plot
Change-Id: If572cc593aa730de87510982613791d94d8f26b5 (cherry picked from commita446e8ff2c) (cherry picked from commitb07c5a0639) (cherry picked from commit633c9abafa)
This commit is contained in:
1 parent
458964aabe
commit
1dacebfcd9
1 file changed
+2
-2
@@ -175,8 +175,8 @@ static void plot_tooltip(const UnitTimes *ut) {
|
||||
assert(ut->name);
|
||||
|
||||
svg("%s:\n", ut->name);
|
||||
svg("Activating: %"PRI_USEC".%.3"PRI_USEC"\n", ut->activating / USEC_PER_SEC, ut->activating % USEC_PER_SEC);
|
||||
svg("Activated: %"PRI_USEC".%.3"PRI_USEC"\n", ut->activated / USEC_PER_SEC, ut->activated % USEC_PER_SEC);
|
||||
svg("Activating: %"PRI_USEC".%.6"PRI_USEC"\n", ut->activating / USEC_PER_SEC, ut->activating % USEC_PER_SEC);
|
||||
svg("Activated: %"PRI_USEC".%.6"PRI_USEC"\n", ut->activated / USEC_PER_SEC, ut->activated % USEC_PER_SEC);
|
||||
|
||||
UnitDependency i;
|
||||
FOREACH_ARGUMENT(i, UNIT_AFTER, UNIT_BEFORE, UNIT_REQUIRES, UNIT_REQUISITE, UNIT_WANTS, UNIT_CONFLICTS, UNIT_UPHOLDS)
|
||||
|
||||
Reference in new issue
Block a user