mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
tree-wide: remove consecutive duplicate words in comments (#5148)
This commit is contained in:
parent
ff85f271ca
commit
1a012455c2
@ -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.
|
||||
*
|
||||
|
@ -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));
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user