From: Yu Watanabe Date: Sat, 4 Nov 2023 02:58:12 +0000 (+0900) Subject: tree-wide: fix typo X-Git-Tag: v255-rc1~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e423b40d3588be944215f1248cfdb4e9aaa3e60f;p=thirdparty%2Fsystemd.git tree-wide: fix typo --- diff --git a/NEWS b/NEWS index 7dd063be0eb..353d82caee1 100644 --- a/NEWS +++ b/NEWS @@ -510,7 +510,7 @@ CHANGES WITH 255 in spe: different from the existing sd_device_enumerator_add_match_property() matches of which one one needs to apply. - * The MAC adress the veth side of an nspawn container shall get + * The MAC address the veth side of an nspawn container shall get assigned may now be controlled via the $SYSTEMD_NSPAWN_NETWORK_MAC environment variable. diff --git a/man/systemd-vmspawn.xml b/man/systemd-vmspawn.xml index 2b9407be855..be5b4436196 100644 --- a/man/systemd-vmspawn.xml +++ b/man/systemd-vmspawn.xml @@ -147,7 +147,7 @@ Exit status - If an error occured the value errno is propagated to the return code. + If an error occurred the value errno is propagated to the return code. Otherwise EXIT_SUCCESS is returned. diff --git a/man/systemd.pcrlock.xml b/man/systemd.pcrlock.xml index 070bed2e118..5687db50218 100644 --- a/man/systemd.pcrlock.xml +++ b/man/systemd.pcrlock.xml @@ -47,9 +47,9 @@ and content_type record fields are not used and ignored if present. Each pcrlock file defines one set of expected, ordered PCR measurements of a specific component of the boot. - *.pcrlock files may be placed in various .d/ drop-in directores (see above for - a full list). All matching files discovered in these directories are sorted alphabetically by their file - name (without taking the actual directory they were found in into account): pcrlock files with + *.pcrlock files may be placed in various .d/ drop-in directories (see above + for a full list). All matching files discovered in these directories are sorted alphabetically by their + file name (without taking the actual directory they were found in into account): pcrlock files with alphabetically earlier names are expected to cover measurements done before those with alphabetically later names. In order to make positioning pcrlock files in the boot process convenient the files are expected (by convention, this is not enforced) to be named diff --git a/src/pcrlock/pcrlock.c b/src/pcrlock/pcrlock.c index cd2a6a60719..a2caf0cbe6c 100644 --- a/src/pcrlock/pcrlock.c +++ b/src/pcrlock/pcrlock.c @@ -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( diff --git a/src/shared/tpm2-util.c b/src/shared/tpm2-util.c index 70879a0220b..d2fec4311b3 100644 --- a/src/shared/tpm2-util.c +++ b/src/shared/tpm2-util.c @@ -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 */