]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
pcrlock: correct argument comment
authorJelle van der Waa <jvanderwaa@redhat.com>
Wed, 21 May 2025 18:16:05 +0000 (20:16 +0200)
committerJelle van der Waa <jvanderwaa@redhat.com>
Sat, 24 May 2025 15:13:39 +0000 (17:13 +0200)
src/pcrlock/pcrlock.c

index 5dab5ba310197166e174d2eb7491ab809e0761eb..02860e6ca585fe39601ddc3a44b897667fc13c65 100644 (file)
@@ -4397,7 +4397,7 @@ static int write_boot_policy_file(const char *json_text) {
                         /* tpm2_device= */ NULL,
                         /* tpm2_hash_pcr_mask= */ 0,
                         /* tpm2_pubkey_path= */ NULL,
-                        /* tpm2_pubkey_path_mask= */ 0,
+                        /* tpm2_pubkey_pcr_mask= */ 0,
                         UID_INVALID,
                         &IOVEC_MAKE_STRING(json_text),
                         CREDENTIAL_ALLOW_NULL,