summaryrefslogtreecommitdiff
path: root/src/systemd-analyze
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd-analyze')
-rwxr-xr-xsrc/systemd-analyze2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd-analyze b/src/systemd-analyze
index dad2ab8d1f..8148bfb832 100755
--- a/src/systemd-analyze
+++ b/src/systemd-analyze
@@ -172,7 +172,7 @@ elif sys.argv[1] == 'plot':
osrel = osrel.strip('\"\n')
break
- banner = "%s %s (%s %s) %s" % (osrel, os.uname()[1], os.uname()[2], os.uname()[3], os.uname()[4])
+ banner = "{} {} ({} {}) {}".format(osrel, *(os.uname()[1:5]))
draw_text(context, 0, -15, banner, hcenter = 0, vcenter = 1)
for x in range(0, finish_time/10000 + 100, 100):