]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/partition/repart.c
extract-word: modernize extract_many_words
[thirdparty/systemd.git] / src / partition / repart.c
index 54ded64aee952e9d28c6e3d327fa8cb2e98b4169..404e1b40b4a0268f4a6c4d523466eb785f8d9da5 100644 (file)
@@ -1758,7 +1758,7 @@ static int config_parse_mountpoint(
 
         const char *q = rvalue;
         r = extract_many_words(&q, ":", EXTRACT_CUNESCAPE|EXTRACT_DONT_COALESCE_SEPARATORS|EXTRACT_UNQUOTE,
-                               &where, &options, NULL);
+                               &where, &options);
         if (r == -ENOMEM)
                 return log_oom();
         if (r < 0) {
@@ -1815,7 +1815,7 @@ static int config_parse_encrypted_volume(
 
         const char *q = rvalue;
         r = extract_many_words(&q, ":", EXTRACT_CUNESCAPE|EXTRACT_DONT_COALESCE_SEPARATORS|EXTRACT_UNQUOTE,
-                               &volume, &keyfile, &options, NULL);
+                               &volume, &keyfile, &options);
         if (r == -ENOMEM)
                 return log_oom();
         if (r < 0) {