]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: codespell fixes
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sun, 24 May 2020 21:00:13 +0000 (23:00 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 May 2020 08:29:28 +0000 (10:29 +0200)
Another batch of codespell fixes as reported by Fossies.org

TODO
man/homed.conf.xml
man/sd_bus_close.xml
src/basic/fs-util.c
src/journal/journal-send.c
src/resolve/resolved-manager.h

diff --git a/TODO b/TODO
index ee50452d040e1b22814ea618978eb75ed075843e..e4182588fe87320d30efdb7c670e9188b33a43a6 100644 (file)
--- 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
index 03590feeaa6e8b577c4ba3aba702fd2eb9bf9a68..3e08b1a091c799df110fd1cbe821af43e8337795 100644 (file)
@@ -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
index 8d9bdb48584fdc06c752bcb6cf3ed384839d6809..42db1074700de4ea82b1f6d4a495ffb6549e6dd7 100644 (file)
 
     <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>
index 2c5bfb3263f8e35d929a9170aafacf166aae17c6..7bbcb6051e0c96dcc54e0d3350bb43b3a50168b9 100644 (file)
@@ -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! */
 
index b07bb592add44df9e485c9c74a7df374fdc99cbd..bbb1c206c5d15f321074a41ae3ae27062dd06801 100644 (file)
@@ -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);
index cbaef5e49c65f986b6530774c419df1ef094249f..6fa5e734bbb024c06bdd5d4e9d8c0b681bf31db8 100644 (file)
@@ -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);