chiark / gitweb /
Fix a few more typos
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 30 Aug 2014 15:13:16 +0000 (17:13 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 30 Aug 2014 17:46:07 +0000 (13:46 -0400)
20 files changed:
CODING_STYLE
NEWS
man/file-hierarchy.xml
man/kernel-command-line.xml
man/sd_bus_creds_get_pid.xml
man/sd_bus_creds_new_from_pid.xml
man/sd_bus_error.xml
man/sd_bus_message_append_basic.xml
man/systemd-hibernate-resume-generator.xml
man/systemd-nspawn.xml
man/systemd.exec.xml
man/systemd.socket.xml
src/core/unit.c
src/journal/test-compress-benchmark.c
src/libsystemd-network/sd-icmp6-nd.c
src/libsystemd-terminal/term-page.c
src/libsystemd-terminal/term-screen.c
src/libsystemd-terminal/test-term-page.c
src/libsystemd/sd-bus/kdbus.h
src/shared/architecture.h

index a3fc26c1e1b93e481a8e0ae077b2b92349316a1e..05b5ecf89f32835e0ed1b6ee3463c035b5a8e4aa 100644 (file)
   function or a "non-logging" function. "Logging" functions do logging
   on their own, "non-logging" function never log on their own and
   expect their callers to log. All functions in "library" code,
   function or a "non-logging" function. "Logging" functions do logging
   on their own, "non-logging" function never log on their own and
   expect their callers to log. All functions in "library" code,
-  i.e. in src/shared/ and suchlike must be "non-logging". Everytime a
+  i.e. in src/shared/ and suchlike must be "non-logging". Every time a
   "logging" function calls a "non-logging" function, it should log
   about the resulting errors. If a "logging" function calls another
   "logging" function, then it should not generate log messages, so
   "logging" function calls a "non-logging" function, it should log
   about the resulting errors. If a "logging" function calls another
   "logging" function, then it should not generate log messages, so
diff --git a/NEWS b/NEWS
index 2fca2cdc930cfe9cb395c47eda07b09be907ef72..f52ee027a192e45990fdb41aee2105d2253ba9ad 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1613,7 +1613,7 @@ CHANGES WITH 208:
           kernel, and on seats that are not seat0.
 
         * A new kernel command line option luks.options= is understood
           kernel, and on seats that are not seat0.
 
         * A new kernel command line option luks.options= is understood
-          now which allows specifiying LUKS options for usage for LUKS
+          now which allows specifying LUKS options for usage for LUKS
           encrypted partitions specified with luks.uuid=.
 
         * tmpfiles.d(5) snippets may now use specifier expansion in
           encrypted partitions specified with luks.uuid=.
 
         * tmpfiles.d(5) snippets may now use specifier expansion in
index 523846b64650954e4c8f73df30990b706029f173..9d96cff007d3b143476ea75da8b33824c34d103a 100644 (file)
                       </row>
                       <row>
                         <entry><filename>~/.local/lib/<replaceable>package</replaceable></filename></entry>
                       </row>
                       <row>
                         <entry><filename>~/.local/lib/<replaceable>package</replaceable></filename></entry>
-                        <entry>Private, static vendor resources of the package, compatible wih any architecture, or any other kind of read-only vendor data.</entry>
+                        <entry>Private, static vendor resources of the package, compatible with any architecture, or any other kind of read-only vendor data.</entry>
                       </row>
                       <row>
                         <entry><filename>~/.local/lib/<replaceable>arch-id</replaceable>/<replaceable>package</replaceable></filename></entry>
                       </row>
                       <row>
                         <entry><filename>~/.local/lib/<replaceable>arch-id</replaceable>/<replaceable>package</replaceable></filename></entry>
index d872e6d5b9b7caa2c9e1e3dca5cb8453418b3608..3263b77cea350f86ff1c336295650a1f3834f8ef 100644 (file)
                                         <para>Enables resume from hibernation
                                         using the specified device.
                                         All <citerefentry><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>-like
                                         <para>Enables resume from hibernation
                                         using the specified device.
                                         All <citerefentry><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>-like
-                                        pathes are supported. For details, see
+                                        paths are supported. For details, see
                                         <citerefentry><refentrytitle>systemd-hibernate-resume-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
                                 </listitem>
                         </varlistentry>
                                         <citerefentry><refentrytitle>systemd-hibernate-resume-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
                                 </listitem>
                         </varlistentry>
index 5a848576f3a87c3e113c9371112df410a6a17c94..40ed81ecb0b8404875a641fcfee34441f9076d2e 100644 (file)
@@ -405,7 +405,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
       <varlistentry>
         <term><varname>-ENXIO</varname></term>
 
       <varlistentry>
         <term><varname>-ENXIO</varname></term>
 
-        <listitem><para>An error occured in parsing cgroup paths.
+        <listitem><para>An error occurred in parsing cgroup paths.
         <filename>libsystemd</filename> might be out of sync with
         the running systemd version.</para></listitem>
       </varlistentry>
         <filename>libsystemd</filename> might be out of sync with
         the running systemd version.</para></listitem>
       </varlistentry>
index 406769b21d741675298e9caa15dbea730dfce199..bc94c4409506156867bfe322f3b478d44590f871 100644 (file)
@@ -149,7 +149,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
     and other functions which correspond directly to the constants
     listed above.</para>
 
     and other functions which correspond directly to the constants
     listed above.</para>
 
-    <para>A mask of fields which were actually sucessfully set
+    <para>A mask of fields which were actually successfully set
     (acquired from <filename>/proc</filename>, etc.) can be retrieved
     with <function>sd_bus_creds_get_mask()</function>. If the
     credentials object was created with
     (acquired from <filename>/proc</filename>, etc.) can be retrieved
     with <function>sd_bus_creds_get_mask()</function>. If the
     credentials object was created with
@@ -162,7 +162,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
     object will not be destroyed until
     <function>sd_bus_creds_unref</function> has been called as many
     times plus once more. Once the reference count has dropped to zero,
     object will not be destroyed until
     <function>sd_bus_creds_unref</function> has been called as many
     times plus once more. Once the reference count has dropped to zero,
-    <parameter>c</parameter> cannot be used anymore, so futher
+    <parameter>c</parameter> cannot be used anymore, so further
     calls to <function>sd_bus_creds_ref(c)</function> or
     <function>sd_bus_creds_unref(c)</function> are illegal.</para>
 
     calls to <function>sd_bus_creds_ref(c)</function> or
     <function>sd_bus_creds_unref(c)</function> are illegal.</para>
 
index 3317eadc3743da816b37bf30a473ddd0aa821d98..7f4160753ef3b6092c4e9e33b3d1e940398726ca 100644 (file)
@@ -252,7 +252,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
     D-Bus error names are available as constants
     <constant>SD_BUS_ERROR_FAILED</constant>, etc., listed above. If
     <parameter>name</parameter> is <constant>NULL</constant>, it is
     D-Bus error names are available as constants
     <constant>SD_BUS_ERROR_FAILED</constant>, etc., listed above. If
     <parameter>name</parameter> is <constant>NULL</constant>, it is
-    assumed that no error occured, and 0 is returned. This means that
+    assumed that no error occurred, and 0 is returned. This means that
     this function may be conveniently used in a
     <function>return</function> statement.</para>
 
     this function may be conveniently used in a
     <function>return</function> statement.</para>
 
index da92020053cbe0f60019309c301d537facae6e17..7c5f1e9ddcb745c0f51030af2bed52cfdf9d2b57 100644 (file)
@@ -95,7 +95,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
           <row>
             <entry><literal>y</literal></entry>
             <entry><constant>SD_BUS_TYPE_BYTE</constant></entry>
           <row>
             <entry><literal>y</literal></entry>
             <entry><constant>SD_BUS_TYPE_BYTE</constant></entry>
-            <entry>unsigned interger</entry>
+            <entry>unsigned integer</entry>
             <entry>1 byte</entry>
           </row>
 
             <entry>1 byte</entry>
           </row>
 
@@ -200,7 +200,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
     valid Unicode string encoded as UTF-8. In case of the two latter
     types, the additional requirements for a D-Bus object path or
     type signature should be satisfied. Those requirements should be
     valid Unicode string encoded as UTF-8. In case of the two latter
     types, the additional requirements for a D-Bus object path or
     type signature should be satisfied. Those requirements should be
-    verified by the recepient of the message.
+    verified by the recipient of the message.
     </para>
   </refsect1>
 
     </para>
   </refsect1>
 
index 1a4b99ced4d4b8b6be72a88974e8fb259ecc12c0..e010c23df4739f466f63835fcfebf81d6e6b86b1 100644 (file)
@@ -71,7 +71,7 @@
                                 <term><varname>resume=</varname></term>
 
                                 <listitem><para>Takes a path to the resume
                                 <term><varname>resume=</varname></term>
 
                                 <listitem><para>Takes a path to the resume
-                                device. Both persistent block device pathes like
+                                device. Both persistent block device paths like
                                 <filename>/dev/disk/by-foo/bar</filename> and
                                 <citerefentry><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>-style
                                 specifiers like <literal>FOO=bar</literal>
                                 <filename>/dev/disk/by-foo/bar</filename> and
                                 <citerefentry><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>-style
                                 specifiers like <literal>FOO=bar</literal>
index aea50559f04f643e87ad6173390bc749f3a75663..820a79bc286c53f61dfe1d686373af87b5aaf70a 100644 (file)
                                 as <literal>tmpfs</literal> instance
                                 into it (the system thus starts up
                                 with read-only OS resources and
                                 as <literal>tmpfs</literal> instance
                                 into it (the system thus starts up
                                 with read-only OS resources and
-                                configuration, but prestine state, any
+                                configuration, but pristine state, any
                                 changes to the latter are lost on
                                 shutdown). When the mode parameter is
                                 specified as <literal>no</literal>
                                 changes to the latter are lost on
                                 shutdown). When the mode parameter is
                                 specified as <literal>no</literal>
index af103ff14c12f18943106903372b33fba170aa58..707d582b4f8c9537b78aead30ebc5a9539e11b5f 100644 (file)
                                 namespace. Note that
                                 <option>slave</option> means that file
                                 systems mounted on the host might stay
                                 namespace. Note that
                                 <option>slave</option> means that file
                                 systems mounted on the host might stay
-                                mounted continously in the unit's
+                                mounted continuously in the unit's
                                 namespace, and thus keep the device
                                 busy. Note that the file system
                                 namespace related options
                                 namespace, and thus keep the device
                                 busy. Note that the file system
                                 namespace related options
index 238029a2516dc651556cf7396815f5b9e9562109..8394fa81aac5e7e65add6eaf7680de46aa624495 100644 (file)
 
                         <varlistentry>
                                 <term><varname>KeepAliveProbes=</varname></term>
 
                         <varlistentry>
                                 <term><varname>KeepAliveProbes=</varname></term>
-                                <listitem><para>Takes interger as argument. It's the number of unacknowledged probes to
+                                <listitem><para>Takes integer as argument. It's the number of unacknowledged probes to
                                 send before considering the connection dead and notifying the application layer.
                                 This controls the TCP_KEEPCNT socket option (see
                                 <citerefentry><refentrytitle>socket</refentrytitle><manvolnum>7</manvolnum></citerefentry>
                                 send before considering the connection dead and notifying the application layer.
                                 This controls the TCP_KEEPCNT socket option (see
                                 <citerefentry><refentrytitle>socket</refentrytitle><manvolnum>7</manvolnum></citerefentry>
index 56102b360d13cd8a34c4381251295ac3030bfcb1..b5c3182940505a0831e8826d54f74c5ce495e5b2 100644 (file)
@@ -3425,7 +3425,7 @@ int unit_setup_exec_runtime(Unit *u) {
         offset = UNIT_VTABLE(u)->exec_runtime_offset;
         assert(offset > 0);
 
         offset = UNIT_VTABLE(u)->exec_runtime_offset;
         assert(offset > 0);
 
-        /* Check if ther already is an ExecRuntime for this unit? */
+        /* Check if there already is an ExecRuntime for this unit? */
         rt = (ExecRuntime**) ((uint8_t*) u + offset);
         if (*rt)
                 return 0;
         rt = (ExecRuntime**) ((uint8_t*) u + offset);
         if (*rt)
                 return 0;
index 8975e29b17197cf3fb64ec8d78f7546e31d600e6..b3bc3ec2fe1a9106841552dcd8e5a7ef5ed2e9bc 100644 (file)
@@ -61,7 +61,7 @@ static void test_compress_decompress(const char* label,
                 int r;
 
                 r = compress(text, i, buf, &j);
                 int r;
 
                 r = compress(text, i, buf, &j);
-                /* assume compresion must be succesful except for small inputs */
+                /* assume compression must be successful except for small inputs */
                 assert(r == 0 || (i < 2048 && r == -ENOBUFS));
                 /* check for overwrites */
                 assert(buf[i] == 0);
                 assert(r == 0 || (i < 2048 && r == -ENOBUFS));
                 /* check for overwrites */
                 assert(buf[i] == 0);
index 243f06a85f1a3dcb15d87d2a55553b11d8e9fe57..bbb4531ddb5e58a317bb294332950fe5569ff461 100644 (file)
@@ -212,7 +212,7 @@ static int icmp6_router_advertisment_recv(sd_event_source *s, int fd,
         if (ra.nd_ra_flags_reserved & ND_RA_FLAG_MANAGED)
                 event = ICMP6_EVENT_ROUTER_ADVERTISMENT_MANAGED;
 
         if (ra.nd_ra_flags_reserved & ND_RA_FLAG_MANAGED)
                 event = ICMP6_EVENT_ROUTER_ADVERTISMENT_MANAGED;
 
-        log_icmp6_nd(nd, "Received Router Advertisment flags %s/%s",
+        log_icmp6_nd(nd, "Received Router Advertisement flags %s/%s",
                      (ra.nd_ra_flags_reserved & ND_RA_FLAG_MANAGED)? "MANAGED":
                      "none",
                      (ra.nd_ra_flags_reserved & ND_RA_FLAG_OTHER)? "OTHER":
                      (ra.nd_ra_flags_reserved & ND_RA_FLAG_MANAGED)? "MANAGED":
                      "none",
                      (ra.nd_ra_flags_reserved & ND_RA_FLAG_OTHER)? "OTHER":
index 7ae90e2cdaea6d3c5f4808de60609d35d8bde17e..ae73cdf62763f50c062c276c56b909dc6f8285d1 100644 (file)
@@ -42,7 +42,7 @@
  * support Unicode combining-characters, therefore this gets more complicated.
  * Characters themselves are represented by a "term_char_t" object. It
  * should be treated as a normal integer and passed by value. The
  * support Unicode combining-characters, therefore this gets more complicated.
  * Characters themselves are represented by a "term_char_t" object. It
  * should be treated as a normal integer and passed by value. The
- * sorrounding struct is just to hide the internals. A term-char can contain a
+ * surrounding struct is just to hide the internals. A term-char can contain a
  * base character together with up to 2 combining-chars in a single integer.
  * Only if you need more combining-chars (very unlikely!) a term-char is a
  * pointer to an allocated storage. This requires you to always free term-char
  * base character together with up to 2 combining-chars in a single integer.
  * Only if you need more combining-chars (very unlikely!) a term-char is a
  * pointer to an allocated storage. This requires you to always free term-char
@@ -1012,7 +1012,7 @@ void term_line_append_combchar(term_line *line, unsigned int pos_x, uint32_t ucs
  * @age: current age for all modifications
  * @keep_protected: true if protected cells should be kept
  *
  * @age: current age for all modifications
  * @keep_protected: true if protected cells should be kept
  *
- * This is the standard erase operation. It clears all cells in the targetted
+ * This is the standard erase operation. It clears all cells in the targeted
  * area and re-initializes them. Cells to the right are not shifted left, you
  * must use DELETE to achieve that. Cells outside the visible area are skipped.
  *
  * area and re-initializes them. Cells to the right are not shifted left, you
  * must use DELETE to achieve that. Cells outside the visible area are skipped.
  *
index a19c684d2ad6c040dd610dd18d5d915ebc2d1943..67f9056d57284dfad4d0b6e968d11a03ec495377 100644 (file)
@@ -455,7 +455,7 @@ static uint32_t screen_map(term_screen *screen, uint32_t val) {
 
 /*
  * Command Handlers
 
 /*
  * Command Handlers
- * This is the inofficial documentation of all the TERM_CMD_* definitions. Each
+ * This is the unofficial documentation of all the TERM_CMD_* definitions. Each
  * handled command has a separate function with an extensive comment on the
  * semantics of the command.
  * Note that many semantics are unknown and need to be verified. This is mostly
  * handled command has a separate function with an extensive comment on the
  * semantics of the command.
  * Note that many semantics are unknown and need to be verified. This is mostly
@@ -1040,7 +1040,7 @@ static int screen_DECELR(term_screen *screen, const term_seq *seq) {
         /*
          * DECELR - enable-locator-reporting
          * This changes the locator-reporting mode. @args[0] specifies the mode
         /*
          * DECELR - enable-locator-reporting
          * This changes the locator-reporting mode. @args[0] specifies the mode
-         * to set, 0 disables locator-reporting, 1 enables it continously, 2
+         * to set, 0 disables locator-reporting, 1 enables it continuously, 2
          * enables it for a single report. @args[1] specifies the
          * precision-mode. 0 and 2 set the reporting to cell-precision, 1 sets
          * pixel-precision.
          * enables it for a single report. @args[1] specifies the
          * precision-mode. 0 and 2 set the reporting to cell-precision, 1 sets
          * pixel-precision.
index bba83ee4051b667b3c9caf826646fcb4934786ec..9e338776e88c609430220539081a84184a5eab77 100644 (file)
@@ -263,7 +263,7 @@ static void test_term_char_allocating(void) {
  * in the range 'A'-'Z', 'a'-'z'. All those are combined and used as term_char_t
  * on this cell. Any numbers in the description are combined and are used as
  * cell-age.
  * in the range 'A'-'Z', 'a'-'z'. All those are combined and used as term_char_t
  * on this cell. Any numbers in the description are combined and are used as
  * cell-age.
- * The occurance of a '*'-symbol marks the cell as bold, '/' marks it as italic.
+ * The occurrence of a '*'-symbol marks the cell as bold, '/' marks it as italic.
  * You can use those characters multiple times, but only the first one has an
  * effect.
  * For further symbols, see parse_attr().
  * You can use those characters multiple times, but only the first one has an
  * effect.
  * For further symbols, see parse_attr().
index 3751f9ca24199d7e49daeb3fed5fa9a3d5dacabb..65f76e9cf4b7bc04b2660091d4d6f0ec975d3370 100644 (file)
@@ -486,7 +486,7 @@ enum kdbus_policy_type {
  *                             policy entries for a name. The provided name
  *                             is not activated and not registered with the
  *                             name database, it only allows unprivileged
  *                             policy entries for a name. The provided name
  *                             is not activated and not registered with the
  *                             name database, it only allows unprivileged
- *                             connections to aquire a name, talk or discover
+ *                             connections to acquire a name, talk or discover
  *                             a service
  * @KDBUS_HELLO_MONITOR:       Special-purpose connection to monitor
  *                             bus traffic
  *                             a service
  * @KDBUS_HELLO_MONITOR:       Special-purpose connection to monitor
  *                             bus traffic
index 71c79b1542674e0e41b10900f741e918cd289422..353d49bedf02b314602bfdd4a21af63ae0dfef8b 100644 (file)
@@ -28,7 +28,7 @@
 /* A cleaned up architecture definition. We don't want to get lost in
  * processor features, models, generations or even ABIs. Hence we
  * focus on general family, and distuignish word width and
 /* A cleaned up architecture definition. We don't want to get lost in
  * processor features, models, generations or even ABIs. Hence we
  * focus on general family, and distuignish word width and
- * endianess. */
+ * endianness. */
 
 typedef enum Architecture {
         ARCHITECTURE_X86 = 0,
 
 typedef enum Architecture {
         ARCHITECTURE_X86 = 0,