mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Revies output of status command.
This commit is contained in:
parent
7d3bfb13eb
commit
f528f74add
1 changed files with 2 additions and 2 deletions
4
status.c
4
status.c
|
|
@ -144,7 +144,7 @@ int state_status(struct snapraid_state* state)
|
|||
}
|
||||
|
||||
if (rehash) {
|
||||
printf("You have a rehash scheduled at %u%%.\n", rehash * 100 / count);
|
||||
printf("You have a rehash in progress at %u%%.\n", (count - rehash) * 100 / count);
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
|
|
@ -179,7 +179,7 @@ int state_status(struct snapraid_state* state)
|
|||
daymedian = day_ago(median, now);
|
||||
daynewest = day_ago(newest, now);
|
||||
|
||||
printf("The oldest block was checked %u days ago, the median %u, and the newest %u days ago.\n", dayoldest, daymedian, daynewest);
|
||||
printf("The oldest block was checked %u days ago, the median %u, the newest %u.\n", dayoldest, daymedian, daynewest);
|
||||
|
||||
printf("\n");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue