tree-wide: fix typo

This commit is contained in:
Yu Watanabe
2023-11-04 11:58:12 +09:00
parent 12c2560997
commit e423b40d35
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -2960,7 +2960,7 @@ static int event_log_ensure_secureboot_consistency(EventLog *el) {
records[found] = rec;
}
/* Check for existance */
/* Check for existence */
for (size_t i = 0; i < ELEMENTSOF(table); i++)
if (table[i].required && !records[i])
return log_error_errno(SYNTHETIC_ERRNO(EBADMSG), "Required record '%s' not found, refusing.", table[i].name);
@@ -3658,7 +3658,7 @@ static int verb_lock_uki(int argc, char *argv[], void *userdata) {
if (r < 0)
return log_error_errno(r, "Failed to append JSON record array: %m");
/* And then apppend a record for the section contents digests as well */
/* And then append a record for the section contents digests as well */
r = json_variant_append_arrayb(
&array,
JSON_BUILD_OBJECT(
+1 -1
View File
@@ -5729,7 +5729,7 @@ int tpm2_calculate_policy_super_pcr(
assert_se(prediction);
assert_se(pcr_policy);
/* Start with a zero policy if not specified otheriwse */
/* Start with a zero policy if not specified otherwise. */
TPM2B_DIGEST super_pcr_policy_digest = *pcr_policy;
/* First we look for all PCRs that have exactly one allowed hash value, and generate a single PolicyPCR policy from them */