]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: fix "a the" or "the a"
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 13 Nov 2020 07:19:49 +0000 (16:19 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 13 Nov 2020 07:28:47 +0000 (16:28 +0900)
TODO
man/sd_bus_process.xml
src/basic/cgroup-util.c
src/basic/fs-util.c
src/resolve/resolved-dns-dnssec.c
src/resolve/resolved-dns-transaction.c
src/shared/conf-parser.h
src/shared/user-record.c

diff --git a/TODO b/TODO
index 89303f1220d23d429b02b8cfd69bc967bf690b0e..b384d8ce9c041e71cf42137a7b5bcd7f0cc4a1df 100644 (file)
--- a/TODO
+++ b/TODO
@@ -634,7 +634,7 @@ Features:
   parameters
 
 * maybe hook of xfs/ext4 quotactl() with services? i.e. automatically manage
-  the quota of the user indicated in User= via unit file settings, like the
+  the quota of the user indicated in User= via unit file settings, like the
   other resource management concepts. Would mix nicely with DynamicUser=1. Or
   alternatively, do this with projids, so that we can also cover services
   running as root. Quota should probably cover all the special dirs such as
index c5a9e0cfdebc8a76b5e03d93373729ce80dc7be8..09b3c50ddef674ed47ca2761973838227a35280b 100644 (file)
@@ -59,7 +59,7 @@
     message is no longer needed. If <parameter>ret</parameter> is not <constant>NULL</constant>, progress was made, but no message was
     processed, <parameter>*ret</parameter> is set to <constant>NULL</constant>.</para>
 
-    <para>If the bus object is connected to an
+    <para>If the bus object is connected to an
     <citerefentry><refentrytitle>sd-event</refentrytitle><manvolnum>3</manvolnum></citerefentry> event loop (with
     <citerefentry><refentrytitle>sd_bus_attach_event</refentrytitle><manvolnum>3</manvolnum></citerefentry>), it is not
     necessary to call <function>sd_bus_process()</function> directly as it is invoked automatically when
index 98329a954dd37dd1e820f6e4d5f414a87322f4b8..f28bf1866a0505c4f2fa77a0aef5288892537478 100644 (file)
@@ -1875,9 +1875,8 @@ int cg_mask_supported(CGroupMask *ret) {
         if (r > 0) {
                 _cleanup_free_ char *root = NULL, *controllers = NULL, *path = NULL;
 
-                /* In the unified hierarchy we can read the supported
-                 * and accessible controllers from a the top-level
-                 * cgroup attribute */
+                /* In the unified hierarchy we can read the supported and accessible controllers from
+                 * the top-level cgroup attribute */
 
                 r = cg_get_root_path(&root);
                 if (r < 0)
index fdd99467c7d697198ec01177835f2bec7ec3203b..6924f5dfb12bec577ae452d97c7d8d6b8d0471cb 100644 (file)
@@ -810,7 +810,7 @@ int chase_symlinks(const char *path, const char *original_root, unsigned flags,
          *
          * 3. With CHASE_STEP: in this case only a single step of the normalization is executed, i.e. only the first
          *    symlink or ".." component of the path is resolved, and the resulting path is returned. This is useful if
-         *    a caller wants to trace the path through the file system verbosely. Returns < 0 on error, > 0 if the
+         *    a caller wants to trace the path through the file system verbosely. Returns < 0 on error, > 0 if the
          *    path is fully normalized, and == 0 for each normalization step. This may be combined with
          *    CHASE_NONEXISTENT, in which case 1 is returned when a component is not found.
          *
index 97bbbe4282b3b8856f9317a3ab5ea49d40abcd29..2f5776b5edae2749e767232490271c5fb33832b4 100644 (file)
@@ -1380,7 +1380,7 @@ static int nsec3_hashed_domain_make(DnsResourceRecord *nsec3, const char *domain
  * matches the wildcard domain.
  *
  * Based on this we can prove either the existence of the record in @key, or NXDOMAIN or NODATA, or
- * that there is no proof either way. The latter is the case if a the proof of non-existence of a given
+ * that there is no proof either way. The latter is the case if a proof of non-existence of a given
  * name uses an NSEC3 record with the opt-out bit set. Lastly, if we are given insufficient NSEC3 records
  * to conclude anything we indicate this by returning NO_RR. */
 static int dnssec_test_nsec3(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool *authenticated, uint32_t *ttl) {
index 2da957e78ce9ec70c712701d46e799e2bdecf58d..1b8bead7c35a72dea7776e08a9911b30a77e4b63 100644 (file)
@@ -2117,7 +2117,7 @@ int dns_transaction_request_dnssec_keys(DnsTransaction *t) {
                                 return r;
                         if (r == 0) {
                                 /* Hmm, so this SOA RR doesn't match our original question. In this case, maybe this is
-                                 * a negative reply, and we need the SOA RR's TTL in order to cache a negative entry?
+                                 * a negative reply, and we need the SOA RR's TTL in order to cache a negative entry?
                                  * If so, we need to validate it, too. */
 
                                 r = dns_answer_match_key(t->answer, t->key, NULL);
index 8f8714361d5e17f03338e6a1a5f5f58e4a335a61..f115cb23af5495a4489a11b2e16e0f031233c643 100644 (file)
@@ -35,7 +35,7 @@ typedef enum ConfigParseFlags {
 /* Prototype for a parser for a specific configuration setting */
 typedef int (*ConfigParserCallback)(CONFIG_PARSER_ARGUMENTS);
 
-/* A macro declaring the a function prototype, following the typedef above, simply because it's so cumbersomely long
+/* A macro declaring a function prototype, following the typedef above, simply because it's so cumbersomely long
  * otherwise. (And current emacs gets irritatingly slow when editing files that contain lots of very long function
  * prototypes on the same screen…) */
 #define CONFIG_PARSER_PROTOTYPE(name) int name(CONFIG_PARSER_ARGUMENTS)
index afa3986642f8c51fb5eac986f69f155f712bbe3d..6c48c56a2a733caaa8d6a4bf3c431bdf96065bf6 100644 (file)
@@ -2062,7 +2062,7 @@ bool user_record_compatible(UserRecord *a, UserRecord *b) {
         assert(a);
         assert(b);
 
-        /* If either lacks the regular section, we can't really decide, let's hence say they are
+        /* If either lacks the regular section, we can't really decide, let's hence say they are
          * incompatible. */
         if (!(a->mask & b->mask & USER_RECORD_REGULAR))
                 return false;