From a8c87614f1b431e3f477255836c192db87caf4ec Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sun, 10 Mar 2013 09:45:53 +0100 Subject: [PATCH] Prints the operation done before proceeding. --- pool.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pool.c b/pool.c index a469214b..3d942d2b 100644 --- a/pool.c +++ b/pool.c @@ -171,6 +171,8 @@ void state_pool(struct snapraid_state* state) exit(EXIT_FAILURE); } + printf("Cleaning...\n"); + /* pool directory with final slash */ pathprint(pool_dir, sizeof(pool_dir), "%s", state->pool); pathslash(pool_dir, sizeof(pool_dir)); @@ -184,6 +186,8 @@ void state_pool(struct snapraid_state* state) /* first clear the previous pool tree */ clean_dir(state, pool_dir); + printf("Pooling...\n"); + /* for each disk */ count = 0; for(i=state->disklist;i!=0;i=i->next) {