Change some warnings to errors to always print them on screen

This commit is contained in:
Andrea Mazzoleni 2015-04-19 21:13:05 +02:00
parent 2e248b42ae
commit a5a72f4a31
4 changed files with 17 additions and 17 deletions

View file

@ -1529,7 +1529,7 @@ static int state_diffscan(struct snapraid_state* state, int is_diff)
/* if verbose, prints the list of duplicates real offsets */
/* other cases are for offsets not supported, so we don't need to report them file by file */
if (phy_last >= FILEPHY_REAL_OFFSET) {
msg_warning("WARNING! Files '%s%s' and '%s%s' have the same physical offset %" PRId64 ".\n", disk->dir, phy_file_last->sub, disk->dir, file->sub, phy_last);
msg_error("WARNING! Files '%s%s' and '%s%s' have the same physical offset %" PRId64 ".\n", disk->dir, phy_file_last->sub, disk->dir, file->sub, phy_last);
}
++phy_dup;
}