summaryrefslogtreecommitdiff
path: root/src/hostname
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/hostname
parent5076f4219ee3f25a39e3520943270c2c915b03d1 (diff)
tree-wide: remove consecutive duplicate words in comments
Diffstat (limited to 'src/hostname')
-rw-r--r--src/hostname/hostnamectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostname/hostnamectl.c b/src/hostname/hostnamectl.c
index 4795324667..07c57fb567 100644
--- a/src/hostname/hostnamectl.c
+++ b/src/hostname/hostnamectl.c
@@ -278,7 +278,7 @@ static int set_hostname(sd_bus *bus, char **args, unsigned n) {
/* Now that we set the pretty hostname, let's clean up the parameter and use that as static
* hostname. If the hostname was already valid as static hostname, this will only chop off the trailing
* dot if there is one. If it was not valid, then it will be made fully valid by truncating, dropping
- * multiple dots, and and dropping weird chars. Note that we clean the name up only if we also are
+ * multiple dots, and dropping weird chars. Note that we clean the name up only if we also are
* supposed to set the pretty name. If the pretty name is not being set we assume the user knows what
* he does and pass the name as-is. */
h = strdup(hostname);