diff --git a/cmdline/state.c b/cmdline/state.c index 9c5a3812..ea061a98 100644 --- a/cmdline/state.c +++ b/cmdline/state.c @@ -4278,7 +4278,7 @@ static void state_write_content(struct snapraid_state* state, uint32_t* out_crc) } } - f = sopen_write(tmp); + f = sopen_write(tmp, STREAM_FLAGS_SEQUENTIAL | STREAM_FLAGS_CRC); if (f == 0) { /* LCOV_EXCL_START */ log_fatal(errno, "Error opening the temporary content file '%s'. %s.\n", tmp, strerror(errno));