From 00e50bd965012bdd2e337152411b00142ca0b9e3 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Wed, 20 May 2026 00:24:02 +0200 Subject: [PATCH] Fix wrong sizeof --- cmdline/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline/state.c b/cmdline/state.c index 1f65e702..25ce7089 100644 --- a/cmdline/state.c +++ b/cmdline/state.c @@ -5255,7 +5255,7 @@ int state_progress(struct snapraid_state* state, struct snapraid_io* io, block_o str_cpu[0] = 0; } if (out_temperature) { - snprintf(str_temp, sizeof(str_eta), "%u", out_temperature); + snprintf(str_temp, sizeof(str_temp), "%u", out_temperature); } else { str_temp[0] = 0; }