[systemd-devel] [PATCH 1/2] typofixes - https://github.com/vlajos/misspell_fixer

Veres Lajos vlajos at gmail.com
Mon Dec 29 01:45:58 PST 2014


---
 NEWS                                            |    2 +-
 TODO                                            |    2 +-
 man/sd_bus_negotiate_fds.xml                    |    2 +-
 man/sd_event_add_child.xml                      |    4 ++--
 man/sd_event_add_signal.xml                     |    2 +-
 man/systemctl.xml                               |    2 +-
 man/systemd-machine-id-commit.service.xml       |    2 +-
 man/systemd-nspawn.xml                          |    2 +-
 man/systemd.link.xml                            |    2 +-
 man/udev.xml                                    |    2 +-
 src/bus-proxyd/bus-proxyd.c                     |    2 +-
 src/bus-proxyd/bus-xml-policy.c                 |    2 +-
 src/core/machine-id-setup.c                     |    2 +-
 src/core/main.c                                 |    2 +-
 src/core/shutdown.c                             |    2 +-
 src/core/unit.c                                 |    2 +-
 src/journal/journalctl.c                        |    2 +-
 src/journal/journald-audit.c                    |    4 ++--
 src/libsystemd-network/sd-dhcp-client.c         |    2 +-
 src/libsystemd-network/test-pppoe.c             |    4 ++--
 src/libsystemd-terminal/grdev-drm.c             |    2 +-
 src/libsystemd-terminal/grdev.c                 |    2 +-
 src/libsystemd-terminal/unifont-def.h           |    2 +-
 src/libsystemd-terminal/unifont-glyph-array.bin |  Bin 2621472 -> 2621472 bytes
 src/libsystemd/sd-rtnl/rtnl-message.c           |    2 +-
 src/resolve/resolved-dns-packet.c               |    2 +-
 src/shared/hashmap.c                            |    2 +-
 src/systemd/sd-id128.h                          |    2 +-
 src/test/test-path.c                            |    2 +-
 29 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/NEWS b/NEWS
index d5ab21a..7079d41 100644
--- a/NEWS
+++ b/NEWS
@@ -3555,7 +3555,7 @@ CHANGES WITH 190:
           keys all the time, even in graphical sessions. If DEs want
           to handle these events on their own they should take the new
           handle-power-key, handle-sleep-key and handle-lid-switch
-          inhibitors during their runtime. A simple way to achiveve
+          inhibitors during their runtime. A simple way to archive
           that is to invoke the DE wrapped in an invocation of:
 
           systemd-inhibit --what=handle-power-key:handle-sleep-key:handle-lid-switch ...
diff --git a/TODO b/TODO
index 799bcae..c1980c6 100644
--- a/TODO
+++ b/TODO
@@ -77,7 +77,7 @@ Features:
 
 * systemd-journal-upload (or a new, related tool): allow pushing out
   journal messages onto the network in BSD syslog protocol,
-  continously. Default to some link-local IP mcast group, to make this
+  continuously. Default to some link-local IP mcast group, to make this
   useful as a one-stop debugging tool.
 
 * synchronize console access with BSD locks:
diff --git a/man/sd_bus_negotiate_fds.xml b/man/sd_bus_negotiate_fds.xml
index 4fbffdf..4babae5 100644
--- a/man/sd_bus_negotiate_fds.xml
+++ b/man/sd_bus_negotiate_fds.xml
@@ -115,7 +115,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
     <para><function>sd_bus_negotiate_creds()</function> controls
     whether implicit sender credentials shall be attached
     automatically to all incoming messages. Takes a bus object, a
-    boolean indicating wether to enable or disable the credential
+    boolean indicating whether to enable or disable the credential
     parts encoded in the bit mask value argument. Note that not all
     transports support attaching sender credentials to messages, or do
     not support all types of sender credential parameters, or might
diff --git a/man/sd_event_add_child.xml b/man/sd_event_add_child.xml
index 9d943f8..de6d677 100644
--- a/man/sd_event_add_child.xml
+++ b/man/sd_event_add_child.xml
@@ -100,7 +100,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
     being stopped by a signal), and <constant>WCONTINUED</constant>
     (watch for the child being resumed by a signal). See
     <citerefentry><refentrytitle>waitid</refentrytitle><manvolnum>2</manvolnum></citerefentry>
-    for futher information.</para>
+    for further information.</para>
 
     <para>Only a single handler may be installed for a specific
     child. The handler is enabled
@@ -147,7 +147,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
 
         <listitem><para>An invalid argument has been passed. This includes
         specyfing an empty mask in <parameter>options</parameter> or a mask
-        which constains values different than a combination of
+        which constrains values different than a combination of
         <constant>WEXITED</constant>, <constant>WSTOPPED</constant>, and
         <constant>WCONTINUED</constant>.
         </para></listitem>
diff --git a/man/sd_event_add_signal.xml b/man/sd_event_add_signal.xml
index f39751d..0299aa5 100644
--- a/man/sd_event_add_signal.xml
+++ b/man/sd_event_add_signal.xml
@@ -95,7 +95,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
     <structname>const struct signalfd_siginfo</structname> containing
     the information about the received signal. See
     <citerefentry><refentrytitle>signalfd</refentrytitle><manvolnum>2</manvolnum></citerefentry>
-    for futher information.</para>
+    for further information.</para>
 
     <para>Only a single handler may be installed for a specific
     signal. The signal will be unblocked, and must be
diff --git a/man/systemctl.xml b/man/systemctl.xml
index d1991e0..3ac6f62 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -173,7 +173,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
           <para>Note that any <varname>After=</varname> dependency is
           automatically mirrored to create a
           <varname>Before=</varname> dependency. Temporal dependencies
-          may be specified explictly, but are also created implicitly
+          may be specified explicitly, but are also created implicitly
           for units which are <varname>WantedBy=</varname> targets
           (see
           <citerefentry><refentrytitle>systemd.target</refentrytitle><manvolnum>5</manvolnum></citerefentry>),
diff --git a/man/systemd-machine-id-commit.service.xml b/man/systemd-machine-id-commit.service.xml
index 6da19b9..c6a0e84 100644
--- a/man/systemd-machine-id-commit.service.xml
+++ b/man/systemd-machine-id-commit.service.xml
@@ -54,7 +54,7 @@
                 <title>Description</title>
 
                 <para><filename>systemd-machine-id-commit.service</filename> is
-                a service responsible for commiting any transient
+                a service responsible for committing any transient
                 <filename>/etc/machine-id</filename> file to a writable file
                 system. See
                 <citerefentry><refentrytitle>machine-id</refentrytitle><manvolnum>5</manvolnum></citerefentry>
diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml
index fdb0c29..fa0680f 100644
--- a/man/systemd-nspawn.xml
+++ b/man/systemd-nspawn.xml
@@ -535,7 +535,7 @@
                                 at the same location. <literal>try-host</literal>
                                 and <literal>try-guest</literal> do the same
                                 but do not fail if the host does not have
-                                persistant journalling enabled.
+                                persistent journalling enabled.
                                 If <literal>auto</literal> (the default),
                                 and the right subdirectory of
                                 <filename>/var/log/journal</filename>
diff --git a/man/systemd.link.xml b/man/systemd.link.xml
index 0eb3950..33822e7 100644
--- a/man/systemd.link.xml
+++ b/man/systemd.link.xml
@@ -99,7 +99,7 @@
                                         property "INTERFACE". May contain shell style
                                         globs. This can not be used to match on names
                                         that have already been changed from userspace.
-                                        Caution is adviced when matching on
+                                        Caution is advised when matching on
                                         kernel-assigned names, as they are known to
                                         be unstable between reboots.</para>
                                 </listitem>
diff --git a/man/udev.xml b/man/udev.xml
index 34b2e12..1c7da07 100644
--- a/man/udev.xml
+++ b/man/udev.xml
@@ -262,7 +262,7 @@
             <para>Execute a program to determine whether there
             is a match; the key is true if the program returns
             successfully. The device properties are made available to the
-            executed program in the environment. The program's standard ouput
+            executed program in the environment. The program's standard output
             is available in the <varname>RESULT</varname> key.</para>
             <para>This can only be used for very short-running foreground tasks. For details,
             see <varname>RUN</varname>.</para>
diff --git a/src/bus-proxyd/bus-proxyd.c b/src/bus-proxyd/bus-proxyd.c
index 64c11ff..e93b14b 100644
--- a/src/bus-proxyd/bus-proxyd.c
+++ b/src/bus-proxyd/bus-proxyd.c
@@ -1010,7 +1010,7 @@ static int process_policy(sd_bus *from, sd_bus *to, sd_bus_message *m, Policy *p
                 }
 
                 if (granted) {
-                        /* Then check whether us (the recipient) can recieve from the sender's name */
+                        /* Then check whether us (the recipient) can receive from the sender's name */
                         if (strv_isempty(sender_names)) {
                                 if (policy_check_recv(policy, our_ucred->uid, our_ucred->gid, m->header->type, NULL, m->path, m->interface, m->member))
                                         return 0;
diff --git a/src/bus-proxyd/bus-xml-policy.c b/src/bus-proxyd/bus-xml-policy.c
index ac0e14b..cf39c52 100644
--- a/src/bus-proxyd/bus-xml-policy.c
+++ b/src/bus-proxyd/bus-xml-policy.c
@@ -838,7 +838,7 @@ bool policy_check_recv(Policy *p,
         verdict = policy_check(p, &filter);
 
         log_full(LOG_AUTH | (verdict != ALLOW ? LOG_WARNING : LOG_DEBUG),
-                 "Recieve permission check for uid=" UID_FMT " gid=" GID_FMT" message=%s name=%s interface=%s path=%s member=%s: %s",
+                 "Receive permission check for uid=" UID_FMT " gid=" GID_FMT" message=%s name=%s interface=%s path=%s member=%s: %s",
                  uid, gid, bus_message_type_to_string(message_type), strna(name), strna(path), strna(interface), strna(member), strna(verdict_to_string(verdict)));
 
         return verdict == ALLOW;
diff --git a/src/core/machine-id-setup.c b/src/core/machine-id-setup.c
index d91a02c..7e0aee6 100644
--- a/src/core/machine-id-setup.c
+++ b/src/core/machine-id-setup.c
@@ -205,7 +205,7 @@ int machine_id_commit(const char *root) {
 
         r = path_is_mount_point(etc_machine_id, false);
         if (r < 0)
-                return log_error_errno(r, "Failed to determine wether %s is a mount point: %m", etc_machine_id);
+                return log_error_errno(r, "Failed to determine whether %s is a mount point: %m", etc_machine_id);
         if (r == 0) {
                 log_debug("%s is is not a mount point. Nothing to do.", etc_machine_id);
                 return 0;
diff --git a/src/core/main.c b/src/core/main.c
index 87d54ca..688ca0e 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -1112,7 +1112,7 @@ static void test_usr(void) {
 static int initialize_join_controllers(void) {
         /* By default, mount "cpu" + "cpuacct" together, and "net_cls"
          * + "net_prio". We'd like to add "cpuset" to the mix, but
-         * "cpuset" does't really work for groups with no initialized
+         * "cpuset" doesn't really work for groups with no initialized
          * attributes. */
 
         arg_join_controllers = new(char**, 3);
diff --git a/src/core/shutdown.c b/src/core/shutdown.c
index def20f5..6492b19 100644
--- a/src/core/shutdown.c
+++ b/src/core/shutdown.c
@@ -144,7 +144,7 @@ static int switch_root_initramfs(void) {
         if (mount(NULL, "/run/initramfs", NULL, MS_PRIVATE, NULL) < 0)
                 return log_error_errno(errno, "Failed to make /run/initramfs private mount: %m");
 
-        /* switch_root with MS_BIND, because there might still be processes lurking around, which have open file desriptors.
+        /* switch_root with MS_BIND, because there might still be processes lurking around, which have open file descriptors.
          * /run/initramfs/shutdown will take care of these.
          * Also do not detach the old root, because /run/initramfs/shutdown needs to access it.
          */
diff --git a/src/core/unit.c b/src/core/unit.c
index a2f3728..9f7ba92 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -609,7 +609,7 @@ static int reserve_dependencies(Unit *u, Unit *other, UnitDependency d) {
 
         /*
          * If u does not have this dependency set allocated, there is no need
-         * to reserve anything. In that case other's set will be transfered
+         * to reserve anything. In that case other's set will be transferred
          * as a whole to u by complete_move().
          */
         if (!u->dependencies[d])
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index b2f6966..7b67bc1 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -1691,7 +1691,7 @@ static int flush_to_var(void) {
                         break;
 
                 if (errno != ENOENT)
-                        return log_error_errno(errno, "Failed to check for existance of /run/systemd/journal/flushed: %m");
+                        return log_error_errno(errno, "Failed to check for existence of /run/systemd/journal/flushed: %m");
 
                 r = fd_wait_for_event(watch_fd, POLLIN, USEC_INFINITY);
                 if (r < 0)
diff --git a/src/journal/journald-audit.c b/src/journal/journald-audit.c
index 69742fa..fd5b710 100644
--- a/src/journal/journald-audit.c
+++ b/src/journal/journald-audit.c
@@ -206,7 +206,7 @@ static int map_generic_field(const char *prefix, const char **p, struct iovec **
         return r;
 }
 
-/* Kernel fields are those occuring in the audit string before
+/* Kernel fields are those occurring in the audit string before
  * msg='. All of these fields are trusted, hence carry the "_" prefix.
  * We try to translate the fields we know into our native names. The
  * other's are generically mapped to _AUDIT_FIELD_XYZ= */
@@ -240,7 +240,7 @@ static const MapField map_fields_kernel[] = {
         {}
 };
 
-/* Userspace fields are thos occuring in the audit string after
+/* Userspace fields are thos occurring in the audit string after
  * msg='. All of these fields are untrusted, hence carry no "_"
  * prefix. We map the fields we don't know to AUDIT_FIELD_XYZ= */
 static const MapField map_fields_userspace[] = {
diff --git a/src/libsystemd-network/sd-dhcp-client.c b/src/libsystemd-network/sd-dhcp-client.c
index 9b007bf..c8a724f 100644
--- a/src/libsystemd-network/sd-dhcp-client.c
+++ b/src/libsystemd-network/sd-dhcp-client.c
@@ -500,7 +500,7 @@ static int client_message_init(sd_dhcp_client *client, DHCPPacket **ret,
 
            Note (from ConnMan): Some DHCP servers will send bigger DHCP packets
            than the defined default size unless the Maximum Messge Size option
-           is explicitely set
+           is explicitly set
 
            RFC3442 "Requirements to Avoid Sizing Constraints":
            Because a full routing table can be quite large, the standard 576
diff --git a/src/libsystemd-network/test-pppoe.c b/src/libsystemd-network/test-pppoe.c
index 0d419aa..dff83ea 100644
--- a/src/libsystemd-network/test-pppoe.c
+++ b/src/libsystemd-network/test-pppoe.c
@@ -139,8 +139,8 @@ static int test_pppoe_server(sd_event *e) {
                        "-I", "pppoe-server",
                        "-C", "Test-AC",
                        "-S", "Service-Default",
-                       "-S", "Service-First-Auxillary",
-                       "-S", "Service-Second-Auxillary",
+                       "-S", "Service-First-Auxiliary",
+                       "-S", "Service-Second-Auxiliary",
                        NULL);
                 assert_not_reached("failed to execute pppoe-server. not installed?");
         }
diff --git a/src/libsystemd-terminal/grdev-drm.c b/src/libsystemd-terminal/grdev-drm.c
index 2df6353..bc4d4c9 100644
--- a/src/libsystemd-terminal/grdev-drm.c
+++ b/src/libsystemd-terminal/grdev-drm.c
@@ -2060,7 +2060,7 @@ static void grdrm_card_configure(grdrm_card *card) {
          *     headache to configure on dynamic demands. Therefore, we only
          *     support it if configured statically beforehand.
          *
-         *   * CRTCs are not created equal. Some might be much more poweful
+         *   * CRTCs are not created equal. Some might be much more powerful
          *     than others, including more advanced plane support. So far, our
          *     CRTC selection is random. You need to supply static
          *     configuration if you want special setups. So far, there is no
diff --git a/src/libsystemd-terminal/grdev.c b/src/libsystemd-terminal/grdev.c
index db87ede..3b3cf27 100644
--- a/src/libsystemd-terminal/grdev.c
+++ b/src/libsystemd-terminal/grdev.c
@@ -708,7 +708,7 @@ void grdev_pipe_ready(grdev_pipe *pipe, bool running) {
 
         /* grdev_pipe_ready() is used by backends to notify about pipe state
          * changed. If a pipe is ready, it can be fully used by us (available,
-         * enabled and accessable). Backends can disable pipes at any time
+         * enabled and accessible). Backends can disable pipes at any time
          * (like for async revocation), but can only enable them from parent
          * context. Otherwise, we might call user-callbacks recursively. */
 
diff --git a/src/libsystemd-terminal/unifont-def.h b/src/libsystemd-terminal/unifont-def.h
index 2b0b859..3847a2c 100644
--- a/src/libsystemd-terminal/unifont-def.h
+++ b/src/libsystemd-terminal/unifont-def.h
@@ -94,7 +94,7 @@ typedef struct unifont_glyph_header unifont_glyph_header;
  *      +-----------------------------------+
  *
  *  * The first byte specifies the width of the glyph. If it is 0, the glyph
- *    must be treated as non-existant.
+ *    must be treated as non-existent.
  *    All glyphs are "8*n" pixels wide and "16" pixels high. The width-field
  *    specifies the width multiplier "n".
  *  * After the width field padding might be added. This depends on the global
diff --git a/src/libsystemd-terminal/unifont-glyph-array.bin b/src/libsystemd-terminal/unifont-glyph-array.bin
index 46f150c42be00db2250c1fee3946b5686d7e35ae..4802a6938a71ac46c4a1a5547a5bbe462723c780 100644
GIT binary patch
delta 153
zcmWN=$qj-)0EW?wpr|M+?mH?=7t})!&S4IJVjFX?1QX8FncqvEciwn984VOE)=(oQ
z8f&8IFMS8oeQZcM<D3~6Tyn*nYi_vZj(Z+><cViqc;$_E7JTr at 7fV*GdmEZ>`v(S+
BLg4 at a

delta 153
zcmWN=$qj-)0EW?wpr|M+?mH?=7ZgMb&S4IJVjFX?1QX8FncqvEciwn984VOE)=(oQ
z8f&8IFMS8oeQZcM<D3~6Tyn*nYi_vZj(Z+><cViqc;$_E7JTr at 7fV*GdmEZ>`v(Vr
BLgN4c

diff --git a/src/libsystemd/sd-rtnl/rtnl-message.c b/src/libsystemd/sd-rtnl/rtnl-message.c
index 36eb9f5..a089fae 100644
--- a/src/libsystemd/sd-rtnl/rtnl-message.c
+++ b/src/libsystemd/sd-rtnl/rtnl-message.c
@@ -43,7 +43,7 @@ static int message_new_empty(sd_rtnl *rtnl, sd_rtnl_message **ret) {
 
         assert_return(ret, -EINVAL);
 
-        /* Note that 'rtnl' is curretly unused, if we start using it internally
+        /* Note that 'rtnl' is currently unused, if we start using it internally
            we must take care to avoid problems due to mutual references between
            busses and their queued messages. See sd-bus.
          */
diff --git a/src/resolve/resolved-dns-packet.c b/src/resolve/resolved-dns-packet.c
index cf5b618..21756f5 100644
--- a/src/resolve/resolved-dns-packet.c
+++ b/src/resolve/resolved-dns-packet.c
@@ -934,7 +934,7 @@ int dns_packet_read_name(DnsPacket *p, char **_ret,
                         if (after_rindex == 0)
                                 after_rindex = p->rindex;
 
-                        /* Jumps are limited to a "prior occurence" (RFC-1035 4.1.4) */
+                        /* Jumps are limited to a "prior occurrence" (RFC-1035 4.1.4) */
                         jump_barrier = ptr;
                         p->rindex = ptr;
                 } else {
diff --git a/src/shared/hashmap.c b/src/shared/hashmap.c
index f2a8a77..e63ba4b 100644
--- a/src/shared/hashmap.c
+++ b/src/shared/hashmap.c
@@ -1066,7 +1066,7 @@ static int hashmap_base_put_boldly(HashmapBase *h, unsigned idx,
 
 /*
  * Returns 0 if resize is not needed.
- *         1 if succesfully resized.
+ *         1 if successfully resized.
  *         -ENOMEM on allocation failure.
  */
 static int resize_buckets(HashmapBase *h, unsigned entries_add) {
diff --git a/src/systemd/sd-id128.h b/src/systemd/sd-id128.h
index 4fdbf3a..48fd876 100644
--- a/src/systemd/sd-id128.h
+++ b/src/systemd/sd-id128.h
@@ -60,7 +60,7 @@ int sd_id128_get_boot(sd_id128_t *ret);
 
 /* Note that SD_ID128_FORMAT_VAL will evaluate the passed argument 16
  * times. It is hence not a good idea to call this macro with an
- * expensive function as paramater or an expression with side
+ * expensive function as parameter or an expression with side
  * effects */
 
 #define SD_ID128_FORMAT_STR "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x"
diff --git a/src/test/test-path.c b/src/test/test-path.c
index 18fcb57..2063ed2 100644
--- a/src/test/test-path.c
+++ b/src/test/test-path.c
@@ -81,7 +81,7 @@ static void check_stop_unlink(Manager *m, Unit *unit, const char *test_path, con
         service = SERVICE(service_unit);
 
         ts = now(CLOCK_MONOTONIC);
-        /* We proces events until the service related to the path has been successfully started */
+        /* We process events until the service related to the path has been successfully started */
         while(service->result != SERVICE_SUCCESS || service->state != SERVICE_START) {
                 usec_t n;
                 int r;
-- 
1.7.10.4



More information about the systemd-devel mailing list