Adjusts some consistency messages.

This commit is contained in:
Andrea Mazzoleni 2014-06-25 23:23:22 +02:00
parent 6ec7d2aae5
commit 3caa251d83
2 changed files with 5 additions and 5 deletions

View file

@ -1415,7 +1415,7 @@ static void state_read_text(struct snapraid_state* state, const char* path, STRE
if (v_pos >= blockmax) {
/* LCOV_EXCL_START */
fprintf(stderr, "Internal position inconsistency in 'inf' specification in '%s' at line %u\n", path, line);
fprintf(stderr, "Internal inconsistency in position for 'inf' specification in '%s' at line %u\n", path, line);
exit(EXIT_FAILURE);
/* LCOV_EXCL_STOP */
}
@ -3726,7 +3726,7 @@ static void state_write_binary(struct snapraid_state* state, STREAM* f)
/* consistency check */
if (block != disk_block_get(disk, block->parity_pos)) {
/* LCOV_EXCL_START */
fprintf(stderr, "Internal inconsistency mismatch for block %u state %u in file '%s'\n", block->parity_pos, block_state, file->sub);
fprintf(stderr, "Internal inconsistency in mismatch for block %u state %u in file '%s'\n", block->parity_pos, block_state, file->sub);
exit(EXIT_FAILURE);
/* LCOV_EXCL_STOP */
}