]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 14 Sep 2022 21:03:57 +0000 (06:03 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 14 Sep 2022 21:03:57 +0000 (06:03 +0900)
TODO
src/gpt-auto-generator/gpt-auto-generator.c
src/partition/repart.c
src/shared/tpm2-util.c

diff --git a/TODO b/TODO
index db50b108cb62aac8acdd369a4a10bb52105acca4..8a0939f62967bf85cdd04c5951c6d1e466d39d42 100644 (file)
--- 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.
 
index 9b04e6e5f745b1c22620d1c2da8ce06d04d07007..3155a7cb60c373d9ec1f88685146f3b469c5ae8d 100644 (file)
@@ -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,
index 063e4447e468ac6fbcba6536169106d130d4a20e..7a53b31c9f89e2e87b7ef7ee6c2718678f165fec 100644 (file)
@@ -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)
index bfc0a97c2f17ee1daf084455752eb6d2ed7993eb..487d258ca99773ded7af82ce758ce435e2ea8856 100644 (file)
@@ -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,
                         };