Prints the operation done before proceeding.

This commit is contained in:
Andrea Mazzoleni 2013-03-10 09:45:53 +01:00
parent 9195f60a36
commit a8c87614f1

4
pool.c
View file

@ -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) {