Skip to content

Commit af3d387

Browse files
committed
tree-wide: fix typo
1 parent 10f3f4e commit af3d387

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

TODO

+1-1
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ Features:
705705
Alternative idea: add "systemd.gpt_auto_policy=rhvs" to allow gpt-auto to
706706
only mount root dir, /home/ dir, /var/ and /srv/, but nothing else. And then
707707
minor extension to this, insisting on encryption, for example
708-
"systemd.gpt_auto_policy=r+v+h" to requre encryption for root and var but not
708+
"systemd.gpt_auto_policy=r+v+h" to require encryption for root and var but not
709709
for /home/, and similar. Similar add --image-dissect-policy= to tools that
710710
take --image= that take the same short string.
711711

src/gpt-auto-generator/gpt-auto-generator.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ static int enumerate_partitions(dev_t devnum) {
649649
* might remove all partitions while we are operating on them. */
650650
r = loop_device_open(devname, O_RDONLY, LOCK_SH, &loop);
651651
if (r < 0)
652-
return log_debug_errno(r, "Failed to opne %s: %m", devname);
652+
return log_debug_errno(r, "Failed to open %s: %m", devname);
653653

654654
r = dissect_loop_device(
655655
loop,

src/partition/repart.c

+2-3
Original file line numberDiff line numberDiff line change
@@ -1572,9 +1572,8 @@ static int find_verity_sibling(Context *context, Partition *p, VerityMode mode,
15721572
assert(ret);
15731573

15741574
/* Try to find the matching sibling partition of the given type for a verity partition. For a data
1575-
* partition, this is the corresponding hash partiton with the same verity name (and vice versa for
1576-
* the hash partition).
1577-
*/
1575+
* partition, this is the corresponding hash partition with the same verity name (and vice versa for
1576+
* the hash partition). */
15781577

15791578
LIST_FOREACH(partitions, q, context->partitions) {
15801579
if (p == q)

src/shared/tpm2-util.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ static int tpm2_make_policy_session(
10691069
goto finish;
10701070

10711071
/* TPM2_VerifySignature() will only verify the RSA part of the RSA+SHA256 signature,
1072-
* hence we need to do the SHA256 part outselves, first */
1072+
* hence we need to do the SHA256 part ourselves, first */
10731073
TPM2B_DIGEST signature_hash = {
10741074
.size = SHA256_DIGEST_SIZE,
10751075
};

0 commit comments

Comments
 (0)