commit | 5fd22c5da76657582d8c7efcc3bc40eeff0c1a67 | [log] [tgz] |
---|---|---|
author | Shik Chen <shik@chromium.org> | Mon Jul 08 09:09:49 2024 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 08 09:56:47 2024 |
tree | 29a9242f16516c6c0d1f63cf1a20857d2ea064d5 | |
parent | 266de33da932e594e180bc4c3c890d68d38f1c71 [diff] |
fflash: Fix unit formatting for values in [999.5, 1000) Fixes progress output like `[rootfs 1.00e+03MB/1.93GB]`, which should be 1.00GB instead. FIXED=b:245213472 TEST=bazel test //... Change-Id: I9fdba8f34dcf231aea1d72b60efb41f8bca86455 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/5681260 Reviewed-by: Li-Yu Yu <aaronyu@google.com> Auto-Submit: Shik Chen <shik@chromium.org> Commit-Queue: Shik Chen <shik@chromium.org> Tested-by: Shik Chen <shik@chromium.org>