mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 13:50:09 -05:00
Fixes some minor code issues found with coverity scan.
This commit is contained in:
parent
8c8b370d4c
commit
23060095c9
4 changed files with 6 additions and 5 deletions
|
|
@ -4043,7 +4043,7 @@ void state_write(struct snapraid_state* state)
|
|||
|
||||
if (sclose(f) != 0) {
|
||||
/* LCOV_EXCL_START */
|
||||
fprintf(stderr, "Error writing the content file '%s' in close(). %s.\n", serrorfile(f), strerror(errno));
|
||||
fprintf(stderr, "Error closing the content files in close(). %s.\n", strerror(errno));
|
||||
exit(EXIT_FAILURE);
|
||||
/* LCOV_EXCL_STOP */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue