]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/ask-password-api.c
strv: wrap strv_new() in a macro so that NULL sentinel is implicit
[thirdparty/systemd.git] / src / shared / ask-password-api.c
index 5f1c34c841d4ed8e49237da0f1e654190885366b..ae3dd33b7a6eff54ee130fdd68571606ba311371 100644 (file)
@@ -678,7 +678,7 @@ int ask_password_agent(
                 if (passphrase[0] == '+') {
                         /* An empty message refers to the empty password */
                         if (n == 1)
-                                l = strv_new("", NULL);
+                                l = strv_new("");
                         else
                                 l = strv_parse_nulstr(passphrase+1, n-1);
                         explicit_bzero_safe(passphrase, n);