diff --git a/docs/USER_GROUP_API.md b/docs/USER_GROUP_API.md index ca88b3a16d9..51132b9a3fd 100644 --- a/docs/USER_GROUP_API.md +++ b/docs/USER_GROUP_API.md @@ -247,7 +247,7 @@ user is a member of the group. If both arguments are specified the specified membership will be tested for, but no others, and the pair is returned if it is defined. Unless both arguments are specified the method call needs to be made with `more` set, so that multiple replies can be returned (since typically -there are are multiple members per group and also multiple groups a user is +there are multiple members per group and also multiple groups a user is member of). As with `GetUserRecord` and `GetGroupRecord` the `service` parameter needs to contain the name of the service being talked to, in order to allow implementation of multiple service within the same IPC socket. In case no diff --git a/man/sd_bus_error.xml b/man/sd_bus_error.xml index af2238e74d7..bfc5caf4e24 100644 --- a/man/sd_bus_error.xml +++ b/man/sd_bus_error.xml @@ -266,7 +266,7 @@ former. This function cannot fail, as no new memory is allocated. Note that if e is not set (or NULL) dst is initializated to SD_BUS_ERROR_NULL. Moreover, if dst is NULL no - operation is executed on it and and resources held by e are freed and reset. Returns a + operation is executed on it and resources held by e are freed and reset. Returns a converted errno-like, negative error code. sd_bus_error_is_set() will return a diff --git a/man/sd_journal_query_unique.xml b/man/sd_journal_query_unique.xml index 26188f9e7e1..81ee55b5761 100644 --- a/man/sd_journal_query_unique.xml +++ b/man/sd_journal_query_unique.xml @@ -116,7 +116,7 @@ Return Value sd_journal_query_unique() returns 0 on success or a negative errno-style error - code. sd_journal_enumerate_unique() and and + code. sd_journal_enumerate_unique() and sd_journal_query_available_unique() return a positive integer if the next field data has been read, 0 when no more fields remain, or a negative errno-style error code. sd_journal_restart_unique() doesn't return anything. diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml index 01df7da1931..16143d4d0fb 100644 --- a/man/systemd-analyze.xml +++ b/man/systemd-analyze.xml @@ -334,7 +334,7 @@ $ eog targets.svg definition (one of glibc, systemd, LSB, or BSD), see the Process Exit Codes section in systemd.exec5. - If no additional arguments are specified, all known statuses are are shown. Otherwise, only the + If no additional arguments are specified, all known statuses are shown. Otherwise, only the definitions for the specified codes are shown. diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml index aeb03ee0304..2275adb3e7e 100644 --- a/man/systemd.netdev.xml +++ b/man/systemd.netdev.xml @@ -2072,7 +2072,7 @@ The hop penalty setting allows to modify batctl8 - preference for multihop routes vs. short routes. This interger value is applied to the + preference for multihop routes vs. short routes. This integer value is applied to the TQ (Transmit Quality) of each forwarded OGM (Originator Message), thereby propagating the cost of an extra hop (the packet has to be received and retransmitted which costs airtime). A higher hop penalty will make it more unlikely that other nodes will choose this node as diff --git a/src/basic/unit-file.c b/src/basic/unit-file.c index 236fc64a8f3..50e6eccbf70 100644 --- a/src/basic/unit-file.c +++ b/src/basic/unit-file.c @@ -243,7 +243,7 @@ int unit_file_build_name_map( Set **path_cache) { /* Build two mappings: any name → main unit (i.e. the end result of symlink resolution), unit name → - * all aliases (i.e. the entry for a given key is a a list of all names which point to this key). The + * all aliases (i.e. the entry for a given key is a list of all names which point to this key). The * key is included in the value iff we saw a file or symlink with that name. In other words, if we * have a key, but it is not present in the value for itself, there was an alias pointing to it, but * the unit itself is not loadable. diff --git a/src/resolve/resolved-dns-scope.c b/src/resolve/resolved-dns-scope.c index 2a8680aa911..8eb91a013b5 100644 --- a/src/resolve/resolved-dns-scope.c +++ b/src/resolve/resolved-dns-scope.c @@ -1081,7 +1081,7 @@ DnsTransaction *dns_scope_find_transaction( !(t->query_flags & SD_RESOLVED_NO_CACHE)) continue; - /* If we are are asked to clamp ttls an the existing transaction doesn't do it, we can't + /* If we are asked to clamp ttls an the existing transaction doesn't do it, we can't * reuse */ if ((query_flags & SD_RESOLVED_CLAMP_TTL) && !(t->query_flags & SD_RESOLVED_CLAMP_TTL)) diff --git a/src/run-generator/run-generator.c b/src/run-generator/run-generator.c index 29b511f8e12..1cf14e71fc5 100644 --- a/src/run-generator/run-generator.c +++ b/src/run-generator/run-generator.c @@ -99,7 +99,7 @@ static int generate(void) { if (r < 0) return log_error_errno(r, "Failed to write unit file %s: %m", p); - /* Let's create a a target we can link "default.target" to */ + /* Let's create a target we can link "default.target" to */ p = strjoina(arg_dest, "/kernel-command-line.target"); r = write_string_file( p, diff --git a/src/shared/gpt.h b/src/shared/gpt.h index 241ff035c64..315cde6be32 100644 --- a/src/shared/gpt.h +++ b/src/shared/gpt.h @@ -35,7 +35,7 @@ #define GPT_LINUX_GENERIC SD_ID128_MAKE(0f,c6,3d,af,84,83,47,72,8e,79,3d,69,d8,47,7d,e4) /* Verity partitions for the root partitions above (we only define them for the root and /usr partitions, - * because only they are are commonly read-only and hence suitable for verity). */ + * because only they are commonly read-only and hence suitable for verity). */ #define GPT_ROOT_X86_VERITY SD_ID128_MAKE(d1,3c,5d,3b,b5,d1,42,2a,b2,9f,94,54,fd,c8,9d,76) #define GPT_ROOT_X86_64_VERITY SD_ID128_MAKE(2c,73,57,ed,eb,d2,46,d9,ae,c1,23,d4,37,ec,2b,f5) #define GPT_ROOT_ARM_VERITY SD_ID128_MAKE(73,86,cd,f2,20,3c,47,a9,a4,98,f2,ec,ce,45,a2,d6) diff --git a/src/shared/userdb.c b/src/shared/userdb.c index 2d480283d12..0d471a2f942 100644 --- a/src/shared/userdb.c +++ b/src/shared/userdb.c @@ -1241,7 +1241,7 @@ int userdb_block_nss_systemd(int b) { call = (int (*)(bool b)) dlsym(dl, "_nss_systemd_block"); if (!call) - /* If the file is is installed but lacks the symbol we expect, things are weird, let's complain */ + /* If the file is installed but lacks the symbol we expect, things are weird, let's complain */ return log_debug_errno(SYNTHETIC_ERRNO(ELIBBAD), "Unable to find symbol _nss_systemd_block in libnss_systemd.so.2: %s", dlerror()); diff --git a/src/test/test-install-root.c b/src/test/test-install-root.c index 04125f1db1f..bea196c0cec 100644 --- a/src/test/test-install-root.c +++ b/src/test/test-install-root.c @@ -1079,7 +1079,7 @@ static void verify_one( alias2 ? "]" : ""); assert(r == expected); - /* This is is test for "instance propagation". This propagation matters mostly for WantedBy= and + /* This is test for "instance propagation". This propagation matters mostly for WantedBy= and * RequiredBy= settings, and less so for Alias=. The only case where it should happen is when we have * an Alias=alias@.service an instantiated template template@instance. In that case the instance name * should be propagated into the alias as alias@instance. */