]> git.ipfire.org Git - thirdparty/systemd.git/commit
repart: tweak byte value output 38995/head
authorLennart Poettering <lennart@poettering.net>
Tue, 9 Sep 2025 20:52:45 +0000 (22:52 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 19 Sep 2025 14:46:07 +0000 (16:46 +0200)
commit2f5fb752a6f5b19e279220238ef882ad3ecb8848
treecefc2e4bf779dacda85f3cbf1b11a05a54acb496
parent222dcf3bc250d267bb96de1d373a6a28355bf800
repart: tweak byte value output

So far, when outputing information about copy progress we'd suppress the
digit after the dot if it is zero. That makes the progress bar a bit
"jumpy", because sometimes there are two more character cells used than
other times. Let's just always output one digit after the dot here
hence, to avoid this.
src/basic/format-util.c
src/basic/format-util.h
src/repart/repart.c
src/test/test-format-util.c