From 1d2ab288d15273ee24f630f4ab536943a2f426b2 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Thu, 19 Mar 2026 12:55:01 +0100 Subject: [PATCH] Fix wrong variable use. No effect but also not correct. --- cmdline/snapraid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline/snapraid.c b/cmdline/snapraid.c index 86ad7a9c..10467af2 100644 --- a/cmdline/snapraid.c +++ b/cmdline/snapraid.c @@ -906,7 +906,7 @@ int parse_option_size(const char* arg, uint64_t* out_size) char* e; /* parse the number part */ - data_off_t size = strtoul(optarg, &e, 10); + data_off_t size = strtoul(arg, &e, 10); if (!e || e == arg) return -1;