summaryrefslogtreecommitdiffstats
path: root/src/basic
diff options
context:
space:
mode:
authorStefan Schweter <stefan@schweter.it>2016-10-02 19:37:21 +0200
committerDaniel Mack <github@zonque.org>2016-10-04 17:06:25 +0200
commit629ff674ac48653703440ab16998adb03391f986 (patch)
tree4007dfaabf886f076ab3a5aa085688cab14adba4 /src/basic
parentlist: LIST_INSERT_BEFORE: update head if necessary (#4261) (diff)
downloadsystemd-629ff674ac48653703440ab16998adb03391f986.tar.xz
systemd-629ff674ac48653703440ab16998adb03391f986.zip
tree-wide: remove consecutive duplicate words in comments
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/escape.c2
-rw-r--r--src/basic/util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/escape.c b/src/basic/escape.c
index 01daf11ce7..4a1ec4505e 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 9d66d28eb7..ec7939dc83 100644
--- a/src/basic/util.c
+++ b/src/basic/util.c
@@ -467,7 +467,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.
*/