Fix sopen_write call signature in HAVE_MT_WRITE block by adding stream flags

This commit is contained in:
Andrea Mazzoleni 2026-08-17 17:25:35 +02:00
parent 9ef9155ccf
commit d4ae953137

View file

@ -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));