From f528f74add1532e452c81c376c398cec0acb1dea Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Fri, 2 Aug 2013 18:08:54 +0200 Subject: [PATCH] Revies output of status command. --- status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/status.c b/status.c index 4dbcf9eb..55808145 100644 --- a/status.c +++ b/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");