From: Yu Watanabe Date: Wed, 14 Sep 2022 21:03:57 +0000 (+0900) Subject: tree-wide: fix typo X-Git-Tag: v252-rc1~192 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af3d387365891950f39e8e496c44a21d99bca95e;p=thirdparty%2Fsystemd.git tree-wide: fix typo --- diff --git a/TODO b/TODO index db50b108cb6..8a0939f6296 100644 --- a/TODO +++ b/TODO @@ -705,7 +705,7 @@ Features: Alternative idea: add "systemd.gpt_auto_policy=rhvs" to allow gpt-auto to only mount root dir, /home/ dir, /var/ and /srv/, but nothing else. And then minor extension to this, insisting on encryption, for example - "systemd.gpt_auto_policy=r+v+h" to requre encryption for root and var but not + "systemd.gpt_auto_policy=r+v+h" to require encryption for root and var but not for /home/, and similar. Similar add --image-dissect-policy= to tools that take --image= that take the same short string. diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c index 9b04e6e5f74..3155a7cb60c 100644 --- a/src/gpt-auto-generator/gpt-auto-generator.c +++ b/src/gpt-auto-generator/gpt-auto-generator.c @@ -649,7 +649,7 @@ static int enumerate_partitions(dev_t devnum) { * might remove all partitions while we are operating on them. */ r = loop_device_open(devname, O_RDONLY, LOCK_SH, &loop); if (r < 0) - return log_debug_errno(r, "Failed to opne %s: %m", devname); + return log_debug_errno(r, "Failed to open %s: %m", devname); r = dissect_loop_device( loop, diff --git a/src/partition/repart.c b/src/partition/repart.c index 063e4447e46..7a53b31c9f8 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -1572,9 +1572,8 @@ static int find_verity_sibling(Context *context, Partition *p, VerityMode mode, assert(ret); /* Try to find the matching sibling partition of the given type for a verity partition. For a data - * partition, this is the corresponding hash partiton with the same verity name (and vice versa for - * the hash partition). - */ + * partition, this is the corresponding hash partition with the same verity name (and vice versa for + * the hash partition). */ LIST_FOREACH(partitions, q, context->partitions) { if (p == q) diff --git a/src/shared/tpm2-util.c b/src/shared/tpm2-util.c index bfc0a97c2f1..487d258ca99 100644 --- a/src/shared/tpm2-util.c +++ b/src/shared/tpm2-util.c @@ -1069,7 +1069,7 @@ static int tpm2_make_policy_session( goto finish; /* TPM2_VerifySignature() will only verify the RSA part of the RSA+SHA256 signature, - * hence we need to do the SHA256 part outselves, first */ + * hence we need to do the SHA256 part ourselves, first */ TPM2B_DIGEST signature_hash = { .size = SHA256_DIGEST_SIZE, };