Switch cryptsetup-reencrypt to use tools_reencrypt_progress.

This commit is contained in:
Ondrej Kozina
2019-10-11 11:22:22 +02:00
parent 33f2af1c09
commit 0c8cf5c1e0
3 changed files with 10 additions and 13 deletions

View File

@@ -380,7 +380,7 @@ void tools_clear_line(void)
log_std("\33[2K\r");
}
void tools_time_progress(uint64_t device_size, uint64_t bytes,
static void tools_time_progress(uint64_t device_size, uint64_t bytes,
struct timeval *start_time, struct timeval *end_time)
{
struct timeval now_time;