]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: remove consecutive duplicate words in comments (#5148)
authorStefan Schweter <stefan@schweter.it>
Wed, 25 Jan 2017 02:45:30 +0000 (03:45 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 25 Jan 2017 02:45:30 +0000 (21:45 -0500)
src/basic/proc-cmdline.c
src/nspawn/nspawn-stub-pid1.c
src/veritysetup/veritysetup-generator.c

index 6ecb6c3f0d46a4773e55cc562e3a842fc61657c3..f703e7f145538cae1c13dd49c9df4180d6dd82d3 100644 (file)
@@ -148,7 +148,7 @@ int proc_cmdline_get_key(const char *key, unsigned flags, char **value) {
          * a) The "value" parameter is used. In this case a parameter beginning with the "key" string followed by "="
          *    is searched, and the value following this is returned in "value".
          *
-         * b) as above, but the PROC_CMDLINE_VALUE_OPTIONAL flag is set. In this case if the the key is found as a
+         * b) as above, but the PROC_CMDLINE_VALUE_OPTIONAL flag is set. In this case if the key is found as a
          *    separate word (i.e. not followed by "=" but instead by whitespace or the end of the command line), then
          *    this is also accepted, and "value" is returned as NULL.
          *
index 38ab37367ef7a9ddf868f75ea128995b9ffa4dd7..7f2a53a2451a25a0bf384a0eede1873030dbccbe 100644 (file)
@@ -87,7 +87,7 @@ int stub_pid1(sd_id128_t uuid) {
 
         /* Flush out /proc/self/environ, so that we don't leak the environment from the host into the container. Also,
          * set $container= and $container_uuid= so that clients in the container that query it from /proc/1/environ
-         * find them set set. */
+         * find them set. */
         sd_id128_to_string(uuid, new_environment + sizeof(new_environment) - SD_ID128_STRING_MAX);
         reset_environ(new_environment, sizeof(new_environment));
 
index 519ac050f9ee8c551fdd12b9787e735604e5979f..0bb0bd6e8fda24a9a08e85cd0089021fd18cb20f 100644 (file)
@@ -76,10 +76,10 @@ static int create_device(void) {
 
         r = unit_name_from_path(u, ".device", &d);
         if (r < 0)
-                return log_error_errno(r, "Failed to to generate unit name: %m");
+                return log_error_errno(r, "Failed to generate unit name: %m");
         r = unit_name_from_path(v, ".device", &e);
         if (r < 0)
-                return log_error_errno(r, "Failed to to generate unit name: %m");
+                return log_error_errno(r, "Failed to generate unit name: %m");
 
         f = fopen(p, "wxe");
         if (!f)