From d4ae95313702cca3cb846d1fead12271e918af06 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Mon, 17 Aug 2026 17:25:35 +0200 Subject: [PATCH] Fix sopen_write call signature in HAVE_MT_WRITE block by adding stream flags --- cmdline/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));