diff options
author | Torstein Husebø <torstein@huseboe.net> | 2015-05-26 19:17:30 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-05-26 19:55:51 +0200 |
commit | 45afd51974fb6a88c5b1fe0b325b7b20fd7b7449 (patch) | |
tree | 9cb40980ba75b2c39bcc4ecff535c53b973e47c0 /src/shared | |
parent | 185abfc3d6b4e8f804a3f7216cd8b0459593af87 (diff) |
treewide: fix typos
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/architecture.c | 2 | ||||
-rw-r--r-- | src/shared/architecture.h | 2 | ||||
-rw-r--r-- | src/shared/capability.h | 2 | ||||
-rw-r--r-- | src/shared/fdset.c | 2 | ||||
-rw-r--r-- | src/shared/util.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/shared/architecture.c b/src/shared/architecture.c index 884abdd3ea..8e72e7a36a 100644 --- a/src/shared/architecture.c +++ b/src/shared/architecture.c @@ -35,7 +35,7 @@ int uname_architecture(void) { * 1:1. Instead we try to clean it up and break down the * confusion on x86 and arm in particular. * - * We do not try to distuingish CPUs not CPU features, but + * We do not try to distinguish CPUs not CPU features, but * actual architectures, i.e. that have genuinely different * code. */ diff --git a/src/shared/architecture.h b/src/shared/architecture.h index cb82418a5e..f5bbf65a90 100644 --- a/src/shared/architecture.h +++ b/src/shared/architecture.h @@ -27,7 +27,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 + * focus on general family, and distinguish word width and * endianness. */ enum { diff --git a/src/shared/capability.h b/src/shared/capability.h index 8260ae1a81..4eb5c2a835 100644 --- a/src/shared/capability.h +++ b/src/shared/capability.h @@ -31,7 +31,7 @@ int have_effective_cap(int value); int capability_bounding_set_drop(uint64_t drop, bool right_now); int capability_bounding_set_drop_usermode(uint64_t drop); -int drop_privileges(uid_t uid, gid_t gid, uint64_t keep_capabilites); +int drop_privileges(uid_t uid, gid_t gid, uint64_t keep_capabilities); int drop_capability(cap_value_t cv); diff --git a/src/shared/fdset.c b/src/shared/fdset.c index 31849272bd..6101b628ec 100644 --- a/src/shared/fdset.c +++ b/src/shared/fdset.c @@ -32,7 +32,7 @@ #define MAKE_SET(s) ((Set*) s) #define MAKE_FDSET(s) ((FDSet*) s) -/* Make sure we can distuingish fd 0 and NULL */ +/* Make sure we can distinguish fd 0 and NULL */ #define FD_TO_PTR(fd) INT_TO_PTR((fd)+1) #define PTR_TO_FD(p) (PTR_TO_INT(p)-1) diff --git a/src/shared/util.c b/src/shared/util.c index 34024bacc4..74a2190031 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -5887,7 +5887,7 @@ int same_fd(int a, int b) { /* The fds refer to the same inode on disk, let's also check * if they have the same fd flags. This is useful to - * distuingish the read and write side of a pipe created with + * distinguish the read and write side of a pipe created with * pipe(). */ fa = fcntl(a, F_GETFL); if (fa < 0) |