From: Stefan Schweter Date: Sun, 2 Oct 2016 17:37:21 +0000 (+0200) Subject: tree-wide: remove consecutive duplicate words in comments X-Git-Tag: v232.2~51 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=5d3c70eec7861aa623adeac659ac4a6f890557d2;hp=6a4cd88ce4bfa430a184c2f2b968aa5a21574d34 tree-wide: remove consecutive duplicate words in comments --- 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)