]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cryptsetup: reference right variable
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Aug 2025 07:30:19 +0000 (09:30 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 18 Aug 2025 12:03:18 +0000 (13:03 +0100)
Fixes: #38576
src/cryptsetup/cryptsetup.c

index dd599b8bea29c2638a0b8613d5e6d3c4d1c78b38..357ee786954cef07eab31d00ec52c9a71be2ece7 100644 (file)
@@ -537,7 +537,7 @@ static int parse_one_option(const char *option) {
 #if HAVE_OPENSSL
                 _cleanup_strv_free_ char **l = NULL;
 
-                l = strv_split(optarg, ":");
+                l = strv_split(val, ":");
                 if (!l)
                         return log_oom();