From 5d3c70eec7861aa623adeac659ac4a6f890557d2 Mon Sep 17 00:00:00 2001 From: Stefan Schweter Date: Sun, 2 Oct 2016 19:37:21 +0200 Subject: [PATCH] tree-wide: remove consecutive duplicate words in comments --- src/basic/escape.c | 2 +- src/basic/util.c | 2 +- src/login/logind-session.c | 2 +- 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) -- 2.30.2