Changes the output format to make it more consistent between commands.

This commit is contained in:
Andrea Mazzoleni 2013-10-19 13:24:35 +02:00
parent 65f40a8fa5
commit 1c07ed86f8
13 changed files with 154 additions and 94 deletions

6
sync.c
View file

@ -445,8 +445,10 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari
state_progress_end(state, countpos, countmax, countsize);
if (error || silent_error) {
printf("%u read/write errors\n", error);
printf("%u data errors\n", silent_error);
printf("\n");
printf("%8u read/write errors\n", error);
printf("%8u data errors\n", silent_error);
printf("WARNING! There are errors!\n");
} else {
/* print the result only if processed something */
if (countpos != 0)