]> 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)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 3 Sep 2025 10:10:48 +0000 (12:10 +0200)
Fixes: #38576
(cherry picked from commit b5be05a106a205e845556442b28ff8262ad08e2c)

src/cryptsetup/cryptsetup.c

index 1da9e21d8e22f161cb86a54ceb324bfddd36a4ee..f16b8f854da24d136a325f4340ead78b915422cd 100644 (file)
@@ -533,7 +533,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();