mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 12:26:38 -05:00
Put the "Stopping" message into stderr
This commit is contained in:
parent
7954e9405f
commit
3884af54ea
5 changed files with 45 additions and 45 deletions
|
|
@ -84,7 +84,7 @@ static int state_dry_process(struct snapraid_state* state, struct snapraid_parit
|
|||
/* LCOV_EXCL_START */
|
||||
ftag("error:%u:%s:%s: Close error. %s\n", i, disk->name, file->sub, strerror(errno));
|
||||
ferr("DANGER! Unexpected close error in a data disk, it isn't possible to dry.\n");
|
||||
printf("Stopping at block %u\n", i);
|
||||
ferr("Stopping at block %u\n", i);
|
||||
++error;
|
||||
goto bail;
|
||||
/* LCOV_EXCL_STOP */
|
||||
|
|
@ -95,7 +95,7 @@ static int state_dry_process(struct snapraid_state* state, struct snapraid_parit
|
|||
if (ret == -1) {
|
||||
/* LCOV_EXCL_START */
|
||||
ferr("DANGER! Unexpected open error in a data disk, it isn't possible to dry.\n");
|
||||
printf("Stopping at block %u\n", i);
|
||||
ferr("Stopping at block %u\n", i);
|
||||
++error;
|
||||
goto bail;
|
||||
/* LCOV_EXCL_STOP */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue