]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
treewide: fix spelling
authorJoerg Behrmann <behrmann@physik.fu-berlin.de>
Wed, 24 Feb 2021 20:39:03 +0000 (21:39 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 24 Feb 2021 20:54:11 +0000 (05:54 +0900)
docs/USER_GROUP_API.md
man/sd_bus_error.xml
man/sd_journal_query_unique.xml
man/systemd-analyze.xml
man/systemd.netdev.xml
src/basic/unit-file.c
src/resolve/resolved-dns-scope.c
src/run-generator/run-generator.c
src/shared/gpt.h
src/shared/userdb.c
src/test/test-install-root.c

index ca88b3a16d9ce1732360d9f8b0b3feda4bc4ac86..51132b9a3fd776845de5268e5e89669b918bd5bb 100644 (file)
@@ -247,7 +247,7 @@ user is a member of the group. If both arguments are specified the specified
 membership will be tested for, but no others, and the pair is returned if it is
 defined. Unless both arguments are specified the method call needs to be made
 with `more` set, so that multiple replies can be returned (since typically
-there are are multiple members per group and also multiple groups a user is
+there are multiple members per group and also multiple groups a user is
 member of). As with `GetUserRecord` and `GetGroupRecord` the `service`
 parameter needs to contain the name of the service being talked to, in order to
 allow implementation of multiple service within the same IPC socket. In case no
index af2238e74d7ef0cdcd89ce1af258815a08c44856..bfc5caf4e24b43d2f87c613c4d1a6dc7b87f49ad 100644 (file)
     former. This function cannot fail, as no new memory is allocated. Note that if <parameter>e</parameter> is not set
     (or <constant>NULL</constant>) <parameter>dst</parameter> is initializated to
     <constant>SD_BUS_ERROR_NULL</constant>. Moreover, if <parameter>dst</parameter> is <constant>NULL</constant> no
-    operation is executed on it and and resources held by <parameter>e</parameter> are freed and reset. Returns a
+    operation is executed on it and resources held by <parameter>e</parameter> are freed and reset. Returns a
     converted <varname>errno</varname>-like, negative error code.</para>
 
     <para><function>sd_bus_error_is_set()</function> will return a
index 26188f9e7e1710485d154caf1aca3f96e59ea493..81ee55b5761f5a07e3829e281a94d04a7d0172c3 100644 (file)
     <title>Return Value</title>
 
     <para><function>sd_journal_query_unique()</function> returns 0 on success or a negative errno-style error
-    code. <function>sd_journal_enumerate_unique()</function> and and
+    code. <function>sd_journal_enumerate_unique()</function> and
     <function>sd_journal_query_available_unique()</function> return a positive integer if the next field data
     has been read, 0 when no more fields remain, or a negative errno-style error code.
     <function>sd_journal_restart_unique()</function> doesn't return anything.</para>
index 01df7da1931f56375efec96131cf516f5acb8aa3..16143d4d0fb4ccc38f4b1adcb937474dff83e4e3 100644 (file)
@@ -334,7 +334,7 @@ $ eog targets.svg</programlisting>
       definition (one of <literal>glibc</literal>, <literal>systemd</literal>, <literal>LSB</literal>, or
       <literal>BSD</literal>), see the Process Exit Codes section in
       <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
-      If no additional arguments are specified, all known statuses are are shown. Otherwise, only the
+      If no additional arguments are specified, all known statuses are shown. Otherwise, only the
       definitions for the specified codes are shown.</para>
 
       <example>
index aeb03ee030428438cf924c8b9a7190c65aa7bf85..2275adb3e7e5e64ead84c5e359813b717c100309 100644 (file)
         <listitem>
           <para>The hop penalty setting allows to modify
           <citerefentry><refentrytitle>batctl</refentrytitle><manvolnum>8</manvolnum></citerefentry>
-          preference for multihop routes vs. short routes. This interger value is applied to the
+          preference for multihop routes vs. short routes. This integer value is applied to the
           TQ (Transmit Quality) of each forwarded OGM (Originator Message), thereby propagating the
           cost of an extra hop (the packet has to be received and retransmitted which costs airtime).
           A higher hop penalty will make it more unlikely that other nodes will choose this node as
index 236fc64a8f308cc999c2057e759d59aaad92fd77..50e6eccbf70ddbeb4007a4d829f1d78dcb5c106c 100644 (file)
@@ -243,7 +243,7 @@ int unit_file_build_name_map(
                 Set **path_cache) {
 
         /* Build two mappings: any name → main unit (i.e. the end result of symlink resolution), unit name →
-         * all aliases (i.e. the entry for a given key is a list of all names which point to this key). The
+         * all aliases (i.e. the entry for a given key is a list of all names which point to this key). The
          * key is included in the value iff we saw a file or symlink with that name. In other words, if we
          * have a key, but it is not present in the value for itself, there was an alias pointing to it, but
          * the unit itself is not loadable.
index 2a8680aa9113cd329154f318de194e74963eff7f..8eb91a013b52afd42afa4ceb93db27d34f7b14f3 100644 (file)
@@ -1081,7 +1081,7 @@ DnsTransaction *dns_scope_find_transaction(
                     !(t->query_flags & SD_RESOLVED_NO_CACHE))
                         continue;
 
-                /* If we are are asked to clamp ttls an the existing transaction doesn't do it, we can't
+                /* If we are asked to clamp ttls an the existing transaction doesn't do it, we can't
                  * reuse */
                 if ((query_flags & SD_RESOLVED_CLAMP_TTL) &&
                     !(t->query_flags & SD_RESOLVED_CLAMP_TTL))
index 29b511f8e12d23b6c4fbfcdfab0af60c92c11b00..1cf14e71fc57e266f458c24857c99db6181ba9f3 100644 (file)
@@ -99,7 +99,7 @@ static int generate(void) {
         if (r < 0)
                 return log_error_errno(r, "Failed to write unit file %s: %m", p);
 
-        /* Let's create a target we can link "default.target" to */
+        /* Let's create a target we can link "default.target" to */
         p = strjoina(arg_dest, "/kernel-command-line.target");
         r = write_string_file(
                         p,
index 241ff035c648fbd87c63e5f17d7334c0fa93351e..315cde6be3224f38f645ed1e2741aa8e52dca2ce 100644 (file)
@@ -35,7 +35,7 @@
 #define GPT_LINUX_GENERIC SD_ID128_MAKE(0f,c6,3d,af,84,83,47,72,8e,79,3d,69,d8,47,7d,e4)
 
 /* Verity partitions for the root partitions above (we only define them for the root and /usr partitions,
- * because only they are are commonly read-only and hence suitable for verity). */
+ * because only they are commonly read-only and hence suitable for verity). */
 #define GPT_ROOT_X86_VERITY    SD_ID128_MAKE(d1,3c,5d,3b,b5,d1,42,2a,b2,9f,94,54,fd,c8,9d,76)
 #define GPT_ROOT_X86_64_VERITY SD_ID128_MAKE(2c,73,57,ed,eb,d2,46,d9,ae,c1,23,d4,37,ec,2b,f5)
 #define GPT_ROOT_ARM_VERITY    SD_ID128_MAKE(73,86,cd,f2,20,3c,47,a9,a4,98,f2,ec,ce,45,a2,d6)
index 2d480283d12a335d78c234ddcc53512871208c64..0d471a2f942f5ca3eac204f3e93f3fdaf4e2dcd9 100644 (file)
@@ -1241,7 +1241,7 @@ int userdb_block_nss_systemd(int b) {
 
         call = (int (*)(bool b)) dlsym(dl, "_nss_systemd_block");
         if (!call)
-                /* If the file is is installed but lacks the symbol we expect, things are weird, let's complain */
+                /* If the file is installed but lacks the symbol we expect, things are weird, let's complain */
                 return log_debug_errno(SYNTHETIC_ERRNO(ELIBBAD),
                                        "Unable to find symbol _nss_systemd_block in libnss_systemd.so.2: %s", dlerror());
 
index 04125f1db1f82830720718d8501bd5378eb35850..bea196c0cecc2ca10b4c7b0750fb4e19f05944ee 100644 (file)
@@ -1079,7 +1079,7 @@ static void verify_one(
                        alias2 ? "]" : "");
         assert(r == expected);
 
-        /* This is is test for "instance propagation". This propagation matters mostly for WantedBy= and
+        /* This is test for "instance propagation". This propagation matters mostly for WantedBy= and
          * RequiredBy= settings, and less so for Alias=. The only case where it should happen is when we have
          * an Alias=alias@.service an instantiated template template@instance. In that case the instance name
          * should be propagated into the alias as alias@instance. */