diff options
| author | Pali Rohár <[email protected]> | 2021-09-24 23:06:46 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2021-10-01 11:07:13 +0200 |
| commit | 5a1f8cbe86ddc5802f661145926423d63f34e48a (patch) | |
| tree | 5493690f7ab987903c44885e106f4db9b04cc9ed /include/linux/linux_string.h | |
| parent | d8cc851dd12e5782d491daf46eea7b0b34758fc5 (diff) | |
tools: kwboot: Fix printing progress
Ensure that `pos` is still in range up to the `width` so printing 100%
works also for bigger images. After printing 100% progress reset it to
zero, so that next progressbar can be started.
Signed-off-by: Pali Rohár <[email protected]>
Reviewed-by: Marek Behún <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
