summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-07-07 12:08:22 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-07-07 12:08:22 +0200
commitcd990847b9b7dc083443aa5f181e0a27ccde432e (patch)
treeae26fa7c558e8079e531f8c3d965bc35fae5a637 /src
parentjournal/compress: drop "future" code in zstd compression (diff)
downloadsystemd-cd990847b9b7dc083443aa5f181e0a27ccde432e.tar.xz
systemd-cd990847b9b7dc083443aa5f181e0a27ccde432e.zip
tree-wide: more repeated words
Diffstat (limited to 'src')
-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
4 files changed, 6 insertions, 6 deletions
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);