From cd990847b9b7dc083443aa5f181e0a27ccde432e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 7 Jul 2020 12:08:22 +0200 Subject: [PATCH] tree-wide: more repeated words --- docs/USER_RECORD.md | 2 +- man/org.freedesktop.home1.xml | 2 +- man/sd_bus_get_fd.xml | 2 +- man/systemd.exec.xml | 2 +- src/core/unit.c | 2 +- src/shared/dropin.c | 4 ++-- src/shared/linux/nl80211.h | 2 +- src/test/test-process-util.c | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/USER_RECORD.md b/docs/USER_RECORD.md index 877d213e468..f6d22c217b0 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 f65ef33f216..dbfdd338d6a 100644 --- a/man/org.freedesktop.home1.xml +++ b/man/org.freedesktop.home1.xml @@ -24,7 +24,7 @@ Introduction systemd-homed.service8 - 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. diff --git a/man/sd_bus_get_fd.xml b/man/sd_bus_get_fd.xml index 69261af93ef..466606118bd 100644 --- a/man/sd_bus_get_fd.xml +++ b/man/sd_bus_get_fd.xml @@ -79,7 +79,7 @@ POLLIN, POLLOUT, … events, or negative on error. - sd_bus_get_timeout() returns the timeout in µs to pass to to + sd_bus_get_timeout() returns the timeout in µs to pass to poll() 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 b94bc2e4f45..6d6eca09a13 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -1699,7 +1699,7 @@ RestrictNamespaces=~cgroup net mount propagation is used, but — as mentioned — as is applied first, propagation from the unit's processes to the host is still turned off. - It is not recommended to to use mount propagation for units, as this means + It is not recommended to use 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. diff --git a/src/core/unit.c b/src/core/unit.c index 18bf0cd52ab..edc96537cb2 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 2693b63233e..932da0c8531 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 ".". 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 beee59c831a..b065c1fe4df 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 d78e0544a7a..b00dd4a980d 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);