]> git.ipfire.org Git - thirdparty/systemd.git/commit
analyze: fix formatting of timestamps with 0 µs
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 15 Jul 2019 17:11:16 +0000 (19:11 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 15 Jul 2019 17:11:16 +0000 (19:11 +0200)
commit08f105df24c562a9c50646a4b35590e5d03ebbda
tree74e6c331b61365835cafbc382b1887f895eb94b7
parent8b693c634de582e59d4562597fcdc89e8568ade0
analyze: fix formatting of timestamps with 0 µs

There is a rule that "%.0d" formats 0 as "". There is no such rule for
"%0d" and 0 :(. The output had an extra 0 if usec was 0.
src/analyze/analyze.c