Zbigniew Jędrzejewski-Szmek 436654
From 78f397aa143fed6b978e4923e443e99ab7686662 Mon Sep 17 00:00:00 2001
Zbigniew Jędrzejewski-Szmek 436654
From: =?UTF-8?q?Torstein=20Huseb=C3=B8?= <torstein@huseboe.net>
Zbigniew Jędrzejewski-Szmek 436654
Date: Tue, 26 May 2015 19:17:30 +0200
Zbigniew Jędrzejewski-Szmek 436654
Subject: [PATCH] treewide: fix typos
Zbigniew Jędrzejewski-Szmek 436654
Zbigniew Jędrzejewski-Szmek 436654
(cherry picked from commit 45afd51974fb6a88c5b1fe0b325b7b20fd7b7449)
Zbigniew Jędrzejewski-Szmek 436654
---
Zbigniew Jędrzejewski-Szmek 436654
 NEWS                                | 4 ++--
Zbigniew Jędrzejewski-Szmek 436654
 man/journal-remote.conf.xml         | 2 +-
Zbigniew Jędrzejewski-Szmek 436654
 src/libsystemd/sd-bus/bus-control.c | 2 +-
Zbigniew Jędrzejewski-Szmek 436654
 src/libsystemd/sd-bus/bus-creds.c   | 6 +++---
Zbigniew Jędrzejewski-Szmek 436654
 src/shared/architecture.c           | 2 +-
Zbigniew Jędrzejewski-Szmek 436654
 src/shared/architecture.h           | 2 +-
Zbigniew Jędrzejewski-Szmek 436654
 src/shared/capability.h             | 2 +-
Zbigniew Jędrzejewski-Szmek 436654
 src/shared/fdset.c                  | 2 +-
Zbigniew Jędrzejewski-Szmek 436654
 src/shared/util.c                   | 2 +-
Zbigniew Jędrzejewski-Szmek 436654
 9 files changed, 12 insertions(+), 12 deletions(-)
Zbigniew Jędrzejewski-Szmek 436654
Zbigniew Jędrzejewski-Szmek 436654
diff --git a/NEWS b/NEWS
Zbigniew Jędrzejewski-Szmek 436654
index f72f502129..ee533b4363 100644
Zbigniew Jędrzejewski-Szmek 436654
--- a/NEWS
Zbigniew Jędrzejewski-Szmek 436654
+++ b/NEWS
Zbigniew Jędrzejewski-Szmek 436654
@@ -3997,7 +3997,7 @@ CHANGES WITH 191:
Zbigniew Jędrzejewski-Szmek 436654
         * HandleSleepKey= in logind.conf has been split up into
Zbigniew Jędrzejewski-Szmek 436654
           HandleSuspendKey= and HandleHibernateKey=. The old setting
Zbigniew Jędrzejewski-Szmek 436654
           is not available anymore. X11 and the kernel are
Zbigniew Jędrzejewski-Szmek 436654
-          distuingishing between these keys and we should too. This
Zbigniew Jędrzejewski-Szmek 436654
+          distinguishing between these keys and we should too. This
Zbigniew Jędrzejewski-Szmek 436654
           also means the inhibition lock for these keys has been split
Zbigniew Jędrzejewski-Szmek 436654
           into two.
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
@@ -4743,7 +4743,7 @@ CHANGES WITH 43:
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
         * Various functionality updates to libsystemd-login.so
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
-        * Track class of PAM logins to distuingish greeters from
Zbigniew Jędrzejewski-Szmek 436654
+        * Track class of PAM logins to distinguish greeters from
Zbigniew Jędrzejewski-Szmek 436654
           normal user logins.
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
         Contributions from: Kay Sievers, Lennart Poettering, Michael
Zbigniew Jędrzejewski-Szmek 436654
diff --git a/man/journal-remote.conf.xml b/man/journal-remote.conf.xml
Zbigniew Jędrzejewski-Szmek 436654
index a7b2227182..fc60258d0b 100644
Zbigniew Jędrzejewski-Szmek 436654
--- a/man/journal-remote.conf.xml
Zbigniew Jędrzejewski-Szmek 436654
+++ b/man/journal-remote.conf.xml
Zbigniew Jędrzejewski-Szmek 436654
@@ -83,7 +83,7 @@
Zbigniew Jędrzejewski-Szmek 436654
       <varlistentry>
Zbigniew Jędrzejewski-Szmek 436654
         <term><varname>ServerKeyFile=</varname></term>
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
-        <listitem><para>SSL key in PEM format</para></listitem>
Zbigniew Jędrzejewski-Szmek 436654
+        <listitem><para>SSL key in PEM format.</para></listitem>
Zbigniew Jędrzejewski-Szmek 436654
       </varlistentry>
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
       <varlistentry>
Zbigniew Jędrzejewski-Szmek 436654
diff --git a/src/libsystemd/sd-bus/bus-control.c b/src/libsystemd/sd-bus/bus-control.c
Zbigniew Jędrzejewski-Szmek 436654
index fa4c28174d..43ddfc651d 100644
Zbigniew Jędrzejewski-Szmek 436654
--- a/src/libsystemd/sd-bus/bus-control.c
Zbigniew Jędrzejewski-Szmek 436654
+++ b/src/libsystemd/sd-bus/bus-control.c
Zbigniew Jędrzejewski-Szmek 436654
@@ -429,7 +429,7 @@ static int bus_populate_creds_from_items(
Zbigniew Jędrzejewski-Szmek 436654
                                         c->mask |= SD_BUS_CREDS_PPID;
Zbigniew Jędrzejewski-Szmek 436654
                                 } else if (item->pids.pid == 1) {
Zbigniew Jędrzejewski-Szmek 436654
                                         /* The structure doesn't
Zbigniew Jędrzejewski-Szmek 436654
-                                         * really distuingish the case
Zbigniew Jędrzejewski-Szmek 436654
+                                         * really distinguish the case
Zbigniew Jędrzejewski-Szmek 436654
                                          * where a process has no
Zbigniew Jędrzejewski-Szmek 436654
                                          * parent and where we don't
Zbigniew Jędrzejewski-Szmek 436654
                                          * know it because it could
Zbigniew Jędrzejewski-Szmek 436654
diff --git a/src/libsystemd/sd-bus/bus-creds.c b/src/libsystemd/sd-bus/bus-creds.c
Zbigniew Jędrzejewski-Szmek 436654
index fed66823c7..4d67619cf8 100644
Zbigniew Jędrzejewski-Szmek 436654
--- a/src/libsystemd/sd-bus/bus-creds.c
Zbigniew Jędrzejewski-Szmek 436654
+++ b/src/libsystemd/sd-bus/bus-creds.c
Zbigniew Jędrzejewski-Szmek 436654
@@ -303,7 +303,7 @@ _public_ int sd_bus_creds_get_ppid(sd_bus_creds *c, pid_t *ppid) {
Zbigniew Jędrzejewski-Szmek 436654
         if (!(c->mask & SD_BUS_CREDS_PPID))
Zbigniew Jędrzejewski-Szmek 436654
                 return -ENODATA;
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
-        /* PID 1 has no parent process. Let's distuingish the case of
Zbigniew Jędrzejewski-Szmek 436654
+        /* PID 1 has no parent process. Let's distinguish the case of
Zbigniew Jędrzejewski-Szmek 436654
          * not knowing and not having a parent process by the returned
Zbigniew Jędrzejewski-Szmek 436654
          * error code. */
Zbigniew Jędrzejewski-Szmek 436654
         if (c->ppid == 0)
Zbigniew Jędrzejewski-Szmek 436654
@@ -989,7 +989,7 @@ int bus_creds_add_more(sd_bus_creds *c, uint64_t mask, pid_t pid, pid_t tid) {
Zbigniew Jędrzejewski-Szmek 436654
         if (missing & SD_BUS_CREDS_EXE) {
Zbigniew Jędrzejewski-Szmek 436654
                 r = get_process_exe(pid, &c->exe);
Zbigniew Jędrzejewski-Szmek 436654
                 if (r == -ESRCH) {
Zbigniew Jędrzejewski-Szmek 436654
-                        /* Unfortunately we cannot really distuingish
Zbigniew Jędrzejewski-Szmek 436654
+                        /* Unfortunately we cannot really distinguish
Zbigniew Jędrzejewski-Szmek 436654
                          * the case here where the process does not
Zbigniew Jędrzejewski-Szmek 436654
                          * exist, and /proc/$PID/exe being unreadable
Zbigniew Jędrzejewski-Szmek 436654
                          * because $PID is a kernel thread. Hence,
Zbigniew Jędrzejewski-Szmek 436654
@@ -1101,7 +1101,7 @@ int bus_creds_add_more(sd_bus_creds *c, uint64_t mask, pid_t pid, pid_t tid) {
Zbigniew Jędrzejewski-Szmek 436654
         }
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
         /* In case only the exe path was to be read we cannot
Zbigniew Jędrzejewski-Szmek 436654
-         * distuingish the case where the exe path was unreadable
Zbigniew Jędrzejewski-Szmek 436654
+         * distinguish the case where the exe path was unreadable
Zbigniew Jędrzejewski-Szmek 436654
          * because the process was a kernel thread, or when the
Zbigniew Jędrzejewski-Szmek 436654
          * process didn't exist at all. Hence, let's do a final check,
Zbigniew Jędrzejewski-Szmek 436654
          * to be sure. */
Zbigniew Jędrzejewski-Szmek 436654
diff --git a/src/shared/architecture.c b/src/shared/architecture.c
Zbigniew Jędrzejewski-Szmek 436654
index 884abdd3ea..8e72e7a36a 100644
Zbigniew Jędrzejewski-Szmek 436654
--- a/src/shared/architecture.c
Zbigniew Jędrzejewski-Szmek 436654
+++ b/src/shared/architecture.c
Zbigniew Jędrzejewski-Szmek 436654
@@ -35,7 +35,7 @@ int uname_architecture(void) {
Zbigniew Jędrzejewski-Szmek 436654
          * 1:1. Instead we try to clean it up and break down the
Zbigniew Jędrzejewski-Szmek 436654
          * confusion on x86 and arm in particular.
Zbigniew Jędrzejewski-Szmek 436654
          *
Zbigniew Jędrzejewski-Szmek 436654
-         * We do not try to distuingish CPUs not CPU features, but
Zbigniew Jędrzejewski-Szmek 436654
+         * We do not try to distinguish CPUs not CPU features, but
Zbigniew Jędrzejewski-Szmek 436654
          * actual architectures, i.e. that have genuinely different
Zbigniew Jędrzejewski-Szmek 436654
          * code. */
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
diff --git a/src/shared/architecture.h b/src/shared/architecture.h
Zbigniew Jędrzejewski-Szmek 436654
index cb82418a5e..f5bbf65a90 100644
Zbigniew Jędrzejewski-Szmek 436654
--- a/src/shared/architecture.h
Zbigniew Jędrzejewski-Szmek 436654
+++ b/src/shared/architecture.h
Zbigniew Jędrzejewski-Szmek 436654
@@ -27,7 +27,7 @@
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
 /* A cleaned up architecture definition. We don't want to get lost in
Zbigniew Jędrzejewski-Szmek 436654
  * processor features, models, generations or even ABIs. Hence we
Zbigniew Jędrzejewski-Szmek 436654
- * focus on general family, and distuignish word width and
Zbigniew Jędrzejewski-Szmek 436654
+ * focus on general family, and distinguish word width and
Zbigniew Jędrzejewski-Szmek 436654
  * endianness. */
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
 enum {
Zbigniew Jędrzejewski-Szmek 436654
diff --git a/src/shared/capability.h b/src/shared/capability.h
Zbigniew Jędrzejewski-Szmek 436654
index 8260ae1a81..4eb5c2a835 100644
Zbigniew Jędrzejewski-Szmek 436654
--- a/src/shared/capability.h
Zbigniew Jędrzejewski-Szmek 436654
+++ b/src/shared/capability.h
Zbigniew Jędrzejewski-Szmek 436654
@@ -31,7 +31,7 @@ int have_effective_cap(int value);
Zbigniew Jędrzejewski-Szmek 436654
 int capability_bounding_set_drop(uint64_t drop, bool right_now);
Zbigniew Jędrzejewski-Szmek 436654
 int capability_bounding_set_drop_usermode(uint64_t drop);
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
-int drop_privileges(uid_t uid, gid_t gid, uint64_t keep_capabilites);
Zbigniew Jędrzejewski-Szmek 436654
+int drop_privileges(uid_t uid, gid_t gid, uint64_t keep_capabilities);
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
 int drop_capability(cap_value_t cv);
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
diff --git a/src/shared/fdset.c b/src/shared/fdset.c
Zbigniew Jędrzejewski-Szmek 436654
index 31849272bd..6101b628ec 100644
Zbigniew Jędrzejewski-Szmek 436654
--- a/src/shared/fdset.c
Zbigniew Jędrzejewski-Szmek 436654
+++ b/src/shared/fdset.c
Zbigniew Jędrzejewski-Szmek 436654
@@ -32,7 +32,7 @@
Zbigniew Jędrzejewski-Szmek 436654
 #define MAKE_SET(s) ((Set*) s)
Zbigniew Jędrzejewski-Szmek 436654
 #define MAKE_FDSET(s) ((FDSet*) s)
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
-/* Make sure we can distuingish fd 0 and NULL */
Zbigniew Jędrzejewski-Szmek 436654
+/* Make sure we can distinguish fd 0 and NULL */
Zbigniew Jędrzejewski-Szmek 436654
 #define FD_TO_PTR(fd) INT_TO_PTR((fd)+1)
Zbigniew Jędrzejewski-Szmek 436654
 #define PTR_TO_FD(p) (PTR_TO_INT(p)-1)
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
diff --git a/src/shared/util.c b/src/shared/util.c
Zbigniew Jędrzejewski-Szmek 436654
index 34024bacc4..74a2190031 100644
Zbigniew Jędrzejewski-Szmek 436654
--- a/src/shared/util.c
Zbigniew Jędrzejewski-Szmek 436654
+++ b/src/shared/util.c
Zbigniew Jędrzejewski-Szmek 436654
@@ -5887,7 +5887,7 @@ int same_fd(int a, int b) {
Zbigniew Jędrzejewski-Szmek 436654
 
Zbigniew Jędrzejewski-Szmek 436654
         /* The fds refer to the same inode on disk, let's also check
Zbigniew Jędrzejewski-Szmek 436654
          * if they have the same fd flags. This is useful to
Zbigniew Jędrzejewski-Szmek 436654
-         * distuingish the read and write side of a pipe created with
Zbigniew Jędrzejewski-Szmek 436654
+         * distinguish the read and write side of a pipe created with
Zbigniew Jędrzejewski-Szmek 436654
          * pipe(). */
Zbigniew Jędrzejewski-Szmek 436654
         fa = fcntl(a, F_GETFL);
Zbigniew Jędrzejewski-Szmek 436654
         if (fa < 0)