]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: fix some double word errors like "the the"
authorMichael Vogt <michael@amutable.com>
Thu, 9 Jul 2026 10:34:01 +0000 (12:34 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 9 Jul 2026 12:09:52 +0000 (13:09 +0100)
By chance (because I had this mistake in my own commit) I noticed
that there are a bunch of duplicated works like "the the" in the
code and man-pages.

This commit fixes them and some similar issues with "and and" etc.

14 files changed:
man/homectl.xml
man/kernel-command-line.xml
man/systemd-firstboot.xml
man/systemd-fstab-generator.xml
man/systemd-network-generator.service.xml
man/systemd.netdev.xml
man/varlinkctl.xml
src/core/namespace.c
src/fundamental/uki.h
src/resolve/resolved-hook.c
src/shared/mstack.c
src/shared/varlink-io.systemd.Login.c
src/shared/varlink-io.systemd.Resolve.Hook.c
src/udev/udev-builtin-blkid.c

index bb827d1e6ba960055b5b780c7ab75c061e5311d0..d3cb378e0eef051439c20b001bcb2710cdb1316d 100644 (file)
 
         <listitem><para>Takes a boolean argument. By default the interactive user creation via
         <command>firstboot --prompt-new-user</command> screen will show reverse color "chrome" bars at the
-        top and and the bottom of the terminal screen, which may be disabled by setting this option to
+        top and the bottom of the terminal screen, which may be disabled by setting this option to
         false.</para>
 
         <xi:include href="version-info.xml" xpointer="v259"/></listitem>
index 3a6a5df8200cd49ebd81d1bede9c490998a088f5..768c7653fb4113b228a817316531d7581553ae05 100644 (file)
       <varlistentry>
         <term><varname>systemd.factory_reset=</varname></term>
 
-        <listitem><para>Controls whether to to boot into factory reset mode, implemented by
+        <listitem><para>Controls whether to boot into factory reset mode, implemented by
         <citerefentry><refentrytitle>systemd-factory-reset-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
         <citerefentry><refentrytitle>systemd-repart</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
         and other tools.</para>
index 62e7c36dfe44e3ed44b1c78977ebf3b3b5c08872..7ea2a2084cc2c1475c71c2109a390c5051eb3f86 100644 (file)
         <term><option>--chrome=</option></term>
 
         <listitem><para>Takes a boolean argument. By default the initial setup screen will show reverse color
-        "chrome" bars at the top and and the bottom of the terminal screen, which may be disabled by setting
+        "chrome" bars at the top and the bottom of the terminal screen, which may be disabled by setting
         this option to false.</para>
 
         <xi:include href="version-info.xml" xpointer="v259"/></listitem>
index 606dd33068ddb44adfb172e6c088613896f3d915..0e97439e4e09c31b79eb7d5f87a62ee38811f463 100644 (file)
 
         <listitem><para>Takes the <filename>/usr/</filename> filesystem to be mounted by the initrd. If
         <varname>mount.usrfstype=</varname> or <varname>mount.usrflags=</varname> is set, then the mount
-        configured via <varname>mount.usr=</varname> will default to the the same value set in
+        configured via <varname>mount.usr=</varname> will default to the same value set in
         <varname>root=</varname>.</para>
 
         <para>Set to <literal>dissect</literal> to explicitly request automatic <filename>/usr/</filename>
index 7b20f8516d0b569e44877a3ae536df81c98ed449..98e7001e5de5805f20bbdf8b16cbfe2e0903c023 100644 (file)
           as a special placeholder rather than a real interface name. Then, in combination with the MAC address provided
           by <varname>BOOTIF=</varname>, this is translated into a
           <citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry> file
-          which matches on the the provided MAC address. When <varname>rd.bootif=0</varname> is passed, this functionality
+          which matches on the provided MAC address. When <varname>rd.bootif=0</varname> is passed, this functionality
           is disabled, and the <varname>BOOTIF=</varname> option is ignored.</para>
 
           <para>See <citerefentry project='man-pages'><refentrytitle>dracut.cmdline</refentrytitle><manvolnum>7</manvolnum></citerefentry>
index 66d5334b37b3542f919631a24b7be96a2af838cd..e50d4bc35d8eb6c093eed9f4f2c62c47d28bf161 100644 (file)
@@ -1060,7 +1060,7 @@ Ports=eth2</programlisting>
           <literal>prp</literal>. Defaults to <literal>hsr</literal>.</para>
 
           <para>Both protocols work by sending two copies of every outgoing frame, one for each of the two
-          ports. The destination node receives the two frames and and keeps only the first one. If a link
+          ports. The destination node receives the two frames and keeps only the first one. If a link
           fails, only one of the two frames is received. HSR uses a ring topology where the two outgoing
           frames are sent in opposite directions in the ring. PRP doesn't need a specific topology, but it
           requires two completely redundant networks attached to the two ports.</para>
index 539b0ea33d76dae8b348b32975d16cf154f040f0..2bf3368d0ec218b398557f32ab9259e5f7ba7a5f 100644 (file)
           functionality may be used to consume replies that come with associated file descriptors in a
           reasonable way.</para>
 
-          <para>Now that if <option>--exec</option> is specified the the third parameter to
+          <para>Now that if <option>--exec</option> is specified the third parameter to
           <command>call</command> is not optional (i.e. the method call parameters).</para>
 
           <xi:include href="version-info.xml" xpointer="v258"/>
index 3fc0a8652db7a008ca3bc5bd1f4ddb63a745446b..04257d82f34cc4a4eb4f0561f58d2907dab4553c 100644 (file)
@@ -2628,7 +2628,7 @@ int setup_namespace(const NamespaceParameters *p, char **reterr_path) {
                                 root_mount_fd = _root_mount_fd;
                         }
 
-                        /* Try to to clone the directory mount if we have privs to, so that we can apply the
+                        /* Try to clone the directory mount if we have privs to, so that we can apply the
                          * MS_SLAVE propagation settings right-away. */
                         if (root_mount_fd < 0) {
                                 _root_mount_fd = open_tree_attr_with_fallback(
index 627538a0eb057c6b3f896cca081b8082a4e22d71..b6233beeefafc4f4ce9a2a92e70c761fdc67184c 100644 (file)
@@ -15,7 +15,7 @@ typedef enum UnifiedSection {
         UNIFIED_SECTION_DTB,
         UNIFIED_SECTION_UNAME,
         UNIFIED_SECTION_SBAT,
-        UNIFIED_SECTION_PCRSIG,   /* This is is not measured actually */
+        UNIFIED_SECTION_PCRSIG,   /* This is not measured actually */
         UNIFIED_SECTION_PCRPKEY,
         UNIFIED_SECTION_PROFILE,
         UNIFIED_SECTION_DTBAUTO,
index 9625e64fe25c764b1ccd61cf2d8c8021d57cc602..7caf245f29fb4af1f62a3007d67d05ab7e9cf66b 100644 (file)
@@ -23,7 +23,7 @@
  * of resolution requests we keep multiple connections open thus, but not too many. */
 #define HOOK_IDLE_CONNECTIONS_MAX 4U
 
-/* Encapsulates a specific hook, i.e. bound socket in in the /run/systemd/resolve.hook/ directory */
+/* Encapsulates a specific hook, i.e. bound socket in the /run/systemd/resolve.hook/ directory */
 typedef struct Hook {
         unsigned n_ref;
 
index 65f38ba3b3df2a16da2362a871f1beb8e9dfd6a8..c8efecca236cb3a76981ffa6792d2503b0afb3fe 100644 (file)
@@ -456,7 +456,7 @@ static int mstack_load_now(MStack *mstack, const char *dir, int dir_fd, MStackFl
         if (dir_fd < 0) {
                 _dir_fd = openat(AT_FDCWD, isempty(dir) ? "." : dir, O_DIRECTORY|O_CLOEXEC);
                 if (_dir_fd < 0)
-                        return log_debug_errno(errno, "Failed to to open '%s': %m", dir);
+                        return log_debug_errno(errno, "Failed to open '%s': %m", dir);
 
                 dir_fd = _dir_fd;
         } else {
index 3b5a1a59c7640aaa69489ecd3ab8c97331373ea3..e6fe21eb0f2a94e18ac7723fc9b393d2ba782f6e 100644 (file)
@@ -26,7 +26,7 @@ SD_VARLINK_DEFINE_ENUM_TYPE(
                 SD_VARLINK_DEFINE_ENUM_VALUE(user_early_light),
                 SD_VARLINK_FIELD_COMMENT("Display manager greeter screen used for login"),
                 SD_VARLINK_DEFINE_ENUM_VALUE(greeter),
-                SD_VARLINK_FIELD_COMMENT("Similar, but a lock screen"),
+                SD_VARLINK_FIELD_COMMENT("Similar, but a lock screen"),
                 SD_VARLINK_DEFINE_ENUM_VALUE(lock_screen),
                 SD_VARLINK_FIELD_COMMENT("Background session (that has no TTY, VT, Seat)"),
                 SD_VARLINK_DEFINE_ENUM_VALUE(background),
index 6fe847ec37cde422f3c9387bb681179b1e69025d..d247f7688e85537319900aab06c08fb429dafbba 100644 (file)
@@ -39,7 +39,7 @@ static SD_VARLINK_DEFINE_METHOD(
                 ResolveRecord,
                 SD_VARLINK_FIELD_COMMENT("The question being looked up, i.e. a combination of resource record keys. Note that unlike DNS "
                                          "queries on the wire these lookups can carry multiple key requests, albeit closely related ones. "
-                                         "Specifically, lookups for A+AAAA for the the same hostname are submitted as one question, as "
+                                         "Specifically, lookups for A+AAAA for the same hostname are submitted as one question, as "
                                          "are lookups for TXT+SRV when doing DNS-SD resolution. Moreover, when looking up resources with "
                                          "non-ASCII characters, they are placed together in a single question, once with labels encoded in "
                                          "UTF-8, and once in IDNA. Hook implementations must be able to deal with these and other similar "
index 0a75ee8dcfeb337c58824c7c315f1e440a7e2d75..dcba83a5bd4bb73f8d66f1808f3479be0e32fb86 100644 (file)
@@ -187,7 +187,7 @@ static int find_gpt_root(UdevEvent *event, blkid_probe pr, const char *loop_back
                          * hence no need to bother with searching for ESP/XBOOTLDR */
                         need_esp_or_xbootldr = false;
                 } else
-                        /* We now know the the ESP/xbootldr UUID, but we cannot be sure yet it's on this block
+                        /* We now know the ESP/xbootldr UUID, but we cannot be sure yet it's on this block
                          * device, hence look for it among partitions now */
                         need_esp_or_xbootldr = true;
         } else {