summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Schweter <stefan@schweter.it>2016-10-02 19:37:21 +0200
committerSven Eden <yamakuzure@gmx.net>2017-07-05 08:50:54 +0200
commit5d3c70eec7861aa623adeac659ac4a6f890557d2 (patch)
tree415970c754f26b1ebe2021bc7f45c35dba02fb5e /src
parent6a4cd88ce4bfa430a184c2f2b968aa5a21574d34 (diff)
tree-wide: remove consecutive duplicate words in comments
Diffstat (limited to 'src')
-rw-r--r--src/basic/escape.c2
-rw-r--r--src/basic/util.c2
-rw-r--r--src/login/logind-session.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/basic/escape.c b/src/basic/escape.c
index 127ca2ecb..aa5dece97 100644
--- a/src/basic/escape.c
+++ b/src/basic/escape.c
@@ -333,7 +333,7 @@ int cunescape_length_with_prefix(const char *s, size_t length, const char *prefi
assert(remaining > 0);
if (*f != '\\') {
- /* A literal literal, copy verbatim */
+ /* A literal, copy verbatim */
*(t++) = *f;
continue;
}
diff --git a/src/basic/util.c b/src/basic/util.c
index f14dba9d9..27c3d4839 100644
--- a/src/basic/util.c
+++ b/src/basic/util.c
@@ -471,7 +471,7 @@ bool in_initrd(void) {
* 2. the root file system must be a memory file system
*
* The second check is extra paranoia, since misdetecting an
- * initrd can have bad bad consequences due the initrd
+ * initrd can have bad consequences due the initrd
* emptying when transititioning to the main systemd.
*/
diff --git a/src/login/logind-session.c b/src/login/logind-session.c
index 06ad99e1f..84e199f6a 100644
--- a/src/login/logind-session.c
+++ b/src/login/logind-session.c
@@ -643,7 +643,7 @@ static int session_stop_scope(Session *s, bool force) {
return 0;
/* Let's always abandon the scope first. This tells systemd that we are not interested anymore, and everything
- * that is left in in the scope is "left-over". Informing systemd about this has the benefit that it will log
+ * that is left in the scope is "left-over". Informing systemd about this has the benefit that it will log
* when killing any processes left after this point. */
r = manager_abandon_scope(s->manager, s->scope, &error);
if (r < 0)