summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2020-05-24 23:00:13 +0200
committerLennart Poettering <lennart@poettering.net>2020-05-25 10:29:28 +0200
commit15dd451535e384b05fad96fb57cbd3a655ee7fb1 (patch)
tree9eb99baf72767396121d9e3aa3e8f7398673d539
parentACCEL_MOUNT_MATRIX for additional Acer Spin model (diff)
downloadsystemd-15dd451535e384b05fad96fb57cbd3a655ee7fb1.tar.xz
systemd-15dd451535e384b05fad96fb57cbd3a655ee7fb1.zip
tree-wide: codespell fixes
Another batch of codespell fixes as reported by Fossies.org
-rw-r--r--TODO2
-rw-r--r--man/homed.conf.xml2
-rw-r--r--man/sd_bus_close.xml4
-rw-r--r--src/basic/fs-util.c2
-rw-r--r--src/journal/journal-send.c4
-rw-r--r--src/resolve/resolved-manager.h2
6 files changed, 8 insertions, 8 deletions
diff --git a/TODO b/TODO
index ee50452d04..e4182588fe 100644
--- a/TODO
+++ b/TODO
@@ -81,7 +81,7 @@ Features:
* homed: as an extension to the directory+subvolume backend: if located on
especially marked fs, then sync down password into LUKS header of that fs,
and always verify passwords against it too. Bootstrapping is a problem
- though: if noone is logged in (or no other user even exists yet), how do you
+ though: if no one is logged in (or no other user even exists yet), how do you
unlock the volume in order to create the first user and add the first pw.
* homed: support new FS_IOC_ADD_ENCRYPTION_KEY ioctl for setting up fscrypt
diff --git a/man/homed.conf.xml b/man/homed.conf.xml
index 03590feeaa..3e08b1a091 100644
--- a/man/homed.conf.xml
+++ b/man/homed.conf.xml
@@ -53,7 +53,7 @@
<literal>cifs</literal>. For details about these options, see
<citerefentry><refentrytitle>homectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>. If not
configured or assigned the empty string, the default storage is automatically determined: if not
- running in a container enviroment and <filename>/home/</filename> is not itself encrypted, defaults
+ running in a container environment and <filename>/home/</filename> is not itself encrypted, defaults
to <literal>luks</literal>. Otherwise defaults to <literal>subvolume</literal> if
<filename>/home/</filename> is on a btrfs file system, and <literal>directory</literal>
otherwise. Note that the storage selected on the <command>homectl</command> command line always takes
diff --git a/man/sd_bus_close.xml b/man/sd_bus_close.xml
index 8d9bdb4858..42db107470 100644
--- a/man/sd_bus_close.xml
+++ b/man/sd_bus_close.xml
@@ -73,12 +73,12 @@
<para><function>sd_bus_default_flush_close()</function> is similar to
<function>sd_bus_flush_close_unref</function>, but does not take a bus pointer argument and
- instead iterates over any of the "default" busses opened by
+ instead iterates over any of the "default" buses opened by
<citerefentry><refentrytitle>sd_bus_default</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_bus_default_user</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_bus_default_system</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
and similar calls. <function>sd_bus_default_flush_close()</function> is particularly useful to
- clean up any busses opened using those calls before the program exits.</para>
+ clean up any buses opened using those calls before the program exits.</para>
</refsect1>
<refsect1>
diff --git a/src/basic/fs-util.c b/src/basic/fs-util.c
index 2c5bfb3263..7bbcb6051e 100644
--- a/src/basic/fs-util.c
+++ b/src/basic/fs-util.c
@@ -1365,7 +1365,7 @@ int unlinkat_deallocate(int fd, const char *name, UnlinkDeallocateFlags flags) {
* it. This isn't going to give you shred(1) semantics, but hopefully should be good enough
* for stuff backed by tmpfs at least.
*
- * Note that we only erase like this if the link count of the file is zero. If it is higer it
+ * Note that we only erase like this if the link count of the file is zero. If it is higher it
* is still linked by someone else and we'll leave it to them to remove it securely
* eventually! */
diff --git a/src/journal/journal-send.c b/src/journal/journal-send.c
index b07bb592ad..bbb1c206c5 100644
--- a/src/journal/journal-send.c
+++ b/src/journal/journal-send.c
@@ -94,7 +94,7 @@ _public_ int sd_journal_printv(int priority, const char *format, va_list ap) {
if (len >= (int)LONG_LINE_MAX - 8)
return -ENOBUFS;
- /* Allocate large buffer to accomodate big message */
+ /* Allocate large buffer to accommodate big message */
if (len >= LINE_MAX) {
int rlen;
buffer = alloca(len + 9);
@@ -472,7 +472,7 @@ _public_ int sd_journal_printv_with_location(int priority, const char *file, con
if (len >= (int)LONG_LINE_MAX - 8)
return -ENOBUFS;
- /* Allocate large buffer to accomodate big message */
+ /* Allocate large buffer to accommodate big message */
if (len >= LINE_MAX) {
int rlen;
buffer = alloca(len + 9);
diff --git a/src/resolve/resolved-manager.h b/src/resolve/resolved-manager.h
index cbaef5e49c..6fa5e734bb 100644
--- a/src/resolve/resolved-manager.h
+++ b/src/resolve/resolved-manager.h
@@ -167,7 +167,7 @@ void manager_verify_all(Manager *m);
DEFINE_TRIVIAL_CLEANUP_FUNC(Manager*, manager_free);
-/* For some reason we need some extra cmsg space on some kernels/archs. One of those days we ned to figure out why */
+/* For some reason we need some extra cmsg space on some kernels/archs. One of those days we need to figure out why */
#define EXTRA_CMSG_SPACE 1024
int manager_is_own_hostname(Manager *m, const char *name);