chiark / gitweb /
tree-wide: remove consecutive duplicate words in comments
authorStefan Schweter <stefan@schweter.it>
Sun, 2 Oct 2016 17:37:21 +0000 (19:37 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 5 Jul 2017 06:50:54 +0000 (08:50 +0200)
src/basic/escape.c
src/basic/util.c
src/login/logind-session.c

index 127ca2ecb2ced04c1d5a81177f7f8a6e536edbd4..aa5dece97e239628e551ca28f4626fd106aa9674 100644 (file)
@@ -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;
                 }
index f14dba9d9144e31abcd9f4a44446aac1eb060ffb..27c3d483931d6ed5c39861b1707931ccff621087 100644 (file)
@@ -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.
          */
 
index 06ad99e1fec4eaeb6d0488de1bc4e6a0b6ca99b7..84e199f6a27f6644c68f2514d2d25a9f60c5c290 100644 (file)
@@ -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)