summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/USER_RECORD.md2
-rw-r--r--man/org.freedesktop.home1.xml2
-rw-r--r--man/sd_bus_get_fd.xml2
-rw-r--r--man/systemd.exec.xml2
-rw-r--r--src/core/unit.c2
-rw-r--r--src/shared/dropin.c4
-rw-r--r--src/shared/linux/nl80211.h2
-rw-r--r--src/test/test-process-util.c4
8 files changed, 10 insertions, 10 deletions
diff --git a/docs/USER_RECORD.md b/docs/USER_RECORD.md
index 877d213e46..f6d22c217b 100644
--- a/docs/USER_RECORD.md
+++ b/docs/USER_RECORD.md
@@ -180,7 +180,7 @@ strictly local context and without signatures doesn't have to deal with the
`perMachine` or `binding` sections and can include its data exclusively in the
regular section. A service that uses a separate, private channel for
authenticating users (or that doesn't have a concept of authentication at all)
-does not need to to be concerned with the `secret` section of user records, as
+does not need to be concerned with the `secret` section of user records, as
the fields included therein are only useful when executing authentication
operations natively against JSON user records.
diff --git a/man/org.freedesktop.home1.xml b/man/org.freedesktop.home1.xml
index f65ef33f21..dbfdd338d6 100644
--- a/man/org.freedesktop.home1.xml
+++ b/man/org.freedesktop.home1.xml
@@ -24,7 +24,7 @@
<title>Introduction</title>
<para><citerefentry><refentrytitle>systemd-homed.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
- is a system service which may be used to to create, remove, change or inspect home areas. This page
+ is a system service which may be used to create, remove, change or inspect home areas. This page
describes the D-Bus interface.
</para>
</refsect1>
diff --git a/man/sd_bus_get_fd.xml b/man/sd_bus_get_fd.xml
index 69261af93e..466606118b 100644
--- a/man/sd_bus_get_fd.xml
+++ b/man/sd_bus_get_fd.xml
@@ -79,7 +79,7 @@
<constant>POLLIN</constant>, <constant>POLLOUT</constant>, … events, or negative on error.
</para>
- <para><function>sd_bus_get_timeout()</function> returns the timeout in µs to pass to to
+ <para><function>sd_bus_get_timeout()</function> returns the timeout in µs to pass to
<function>poll()</function> or a similar call when waiting for events on the specified bus
connection. The returned timeout may be zero, in which case a subsequent I/O polling call
should be invoked in non-blocking mode. The returned timeout may be
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
index b94bc2e4f4..6d6eca09a1 100644
--- a/man/systemd.exec.xml
+++ b/man/systemd.exec.xml
@@ -1699,7 +1699,7 @@ RestrictNamespaces=~cgroup net</programlisting>
<option>shared</option> mount propagation is used, but — as mentioned — as <option>slave</option> is applied
first, propagation from the unit's processes to the host is still turned off.</para>
- <para>It is not recommended to to use <option>private</option> mount propagation for units, as this means
+ <para>It is not recommended to use <option>private</option> mount propagation for units, as this means
temporary mounts (such as removable media) of the host will stay mounted and thus indefinitely busy in forked
off processes, as unmount propagation events won't be received by the file system namespace of the unit.</para>
diff --git a/src/core/unit.c b/src/core/unit.c
index 18bf0cd52a..edc96537cb 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -258,7 +258,7 @@ int unit_add_name(Unit *u, const char *text) {
t = unit_name_to_type(name);
if (t < 0)
return log_unit_debug_errno(u, SYNTHETIC_ERRNO(EINVAL),
- "failed to to derive unit type from name '%s': %m", name);
+ "failed to derive unit type from name '%s': %m", name);
if (u->type != _UNIT_TYPE_INVALID && t != u->type)
return log_unit_debug_errno(u, SYNTHETIC_ERRNO(EINVAL),
diff --git a/src/shared/dropin.c b/src/shared/dropin.c
index 2693b63233..932da0c853 100644
--- a/src/shared/dropin.c
+++ b/src/shared/dropin.c
@@ -204,7 +204,7 @@ static int unit_file_find_dirs(
type = unit_name_to_type(name);
if (type < 0)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
- "Failed to to derive unit type from unit name: %s",
+ "Failed to derive unit type from unit name: %s",
name);
if (is_instance) {
@@ -254,7 +254,7 @@ int unit_file_find_dropin_paths(
type = unit_name_to_type(n);
if (type < 0)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
- "Failed to to derive unit type from unit name: %s", n);
+ "Failed to derive unit type from unit name: %s", n);
/* Special top level drop in for "<unit type>.<suffix>". Add this last as it's the most generic
* and should be able to be overridden by more specific drop-ins. */
diff --git a/src/shared/linux/nl80211.h b/src/shared/linux/nl80211.h
index beee59c831..b065c1fe4d 100644
--- a/src/shared/linux/nl80211.h
+++ b/src/shared/linux/nl80211.h
@@ -1435,7 +1435,7 @@ enum nl80211_commands {
* rates as defined by IEEE 802.11 7.3.2.2 but without the length
* restriction (at most %NL80211_MAX_SUPP_RATES).
* @NL80211_ATTR_STA_VLAN: interface index of VLAN interface to move station
- * to, or the AP interface the station was originally added to to.
+ * to, or the AP interface the station was originally added to.
* @NL80211_ATTR_STA_INFO: information about a station, part of station info
* given for %NL80211_CMD_GET_STATION, nested attribute containing
* info as possible, see &enum nl80211_sta_info.
diff --git a/src/test/test-process-util.c b/src/test/test-process-util.c
index d78e0544a7..b00dd4a980 100644
--- a/src/test/test-process-util.c
+++ b/src/test/test-process-util.c
@@ -636,7 +636,7 @@ static void test_setpriority_closest(void) {
q = getpriority(PRIO_PROCESS, 0);
assert_se(errno == 0 && p == q);
- /* It should also be possible to to set the nice level to one higher */
+ /* It should also be possible to set the nice level to one higher */
if (p < PRIO_MAX-1) {
assert_se(setpriority_closest(++p) > 0);
@@ -645,7 +645,7 @@ static void test_setpriority_closest(void) {
assert_se(errno == 0 && p == q);
}
- /* It should also be possible to to set the nice level to two higher */
+ /* It should also be possible to set the nice level to two higher */
if (p < PRIO_MAX-1) {
assert_se(setpriority_closest(++p) > 0);