summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/syscall-list.h2
-rw-r--r--src/core/umount.c2
-rw-r--r--src/login/logind-dbus.c2
-rw-r--r--src/login/logind.c2
-rw-r--r--src/shared/strbuf.c2
-rw-r--r--src/systemctl/systemctl.c4
-rw-r--r--src/systemd/sd-bus-protocol.h2
-rw-r--r--src/tmpfiles/tmpfiles.c2
-rw-r--r--src/udev/udev-rules.c2
9 files changed, 10 insertions, 10 deletions
diff --git a/src/core/syscall-list.h b/src/core/syscall-list.h
index 503838b7fb..6bb4d91f91 100644
--- a/src/core/syscall-list.h
+++ b/src/core/syscall-list.h
@@ -24,7 +24,7 @@
#if defined __x86_64__ && defined __ILP32__
/* The x32 ABI defines all of its syscalls with bit 30 set, which causes
- issues when attempting to use syscalls as simple indicies into an array.
+ issues when attempting to use syscalls as simple indices into an array.
Instead, use the syscall id & ~SYSCALL_MASK as the index, and | the
internal id with the syscall mask as needed.
*/
diff --git a/src/core/umount.c b/src/core/umount.c
index 8c69e74caf..acfbbe5e03 100644
--- a/src/core/umount.c
+++ b/src/core/umount.c
@@ -418,7 +418,7 @@ static int mount_points_list_umount(MountPoint **head, bool *changed, bool log_e
*
* Mount points can be stacked. If a mount
* point is stacked below / or /usr, we
- * cannnot umount or remount it directly,
+ * cannot umount or remount it directly,
* since there is no way to refer to the
* underlying mount. There's nothing we can do
* about it for the general case, but we can
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index 230dd2b4b5..4a8ffe5eda 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -66,7 +66,7 @@
" <method name=\"CreateSession\">\n" \
" <arg name=\"uid\" type=\"u\" direction=\"in\"/>\n" \
" <arg name=\"leader\" type=\"u\" direction=\"in\"/>\n" \
- " <arg name=\"sevice\" type=\"s\" direction=\"in\"/>\n" \
+ " <arg name=\"service\" type=\"s\" direction=\"in\"/>\n" \
" <arg name=\"type\" type=\"s\" direction=\"in\"/>\n" \
" <arg name=\"class\" type=\"s\" direction=\"in\"/>\n" \
" <arg name=\"seat\" type=\"s\" direction=\"in\"/>\n" \
diff --git a/src/login/logind.c b/src/login/logind.c
index c9e492fc4f..63422f4c32 100644
--- a/src/login/logind.c
+++ b/src/login/logind.c
@@ -1726,7 +1726,7 @@ int main(int argc, char *argv[]) {
/* Always create the directories people can create inotify
* watches in. Note that some applications might check for the
- * existance of /run/systemd/seats/ to determine whether
+ * existence of /run/systemd/seats/ to determine whether
* logind is available, so please always make sure this check
* stays in. */
mkdir_label("/run/systemd/seats", 0755);
diff --git a/src/shared/strbuf.c b/src/shared/strbuf.c
index e64f1ca07a..01a076c2ba 100644
--- a/src/shared/strbuf.c
+++ b/src/shared/strbuf.c
@@ -26,7 +26,7 @@
#include "strbuf.h"
/*
- * Strbuf stores given strings in a single continous allocated memory
+ * Strbuf stores given strings in a single continuous allocated memory
* area. Identical strings are de-duplicated and return the same offset
* as the first string stored. If the tail of a string already exists
* in the buffer, the tail is returned.
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 12dce3c001..36567224f8 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -4494,7 +4494,7 @@ static int systemctl_help(void) {
" --fail When queueing a new job, fail if conflicting jobs are\n"
" pending\n"
" --irreversible Create jobs which cannot be implicitly cancelled\n"
- " --show-types When showing sockets, explictly show their type\n"
+ " --show-types When showing sockets, explicitly show their type\n"
" --ignore-dependencies\n"
" When queueing a new job, ignore all its dependencies\n"
" -i --ignore-inhibitors\n"
@@ -4794,7 +4794,7 @@ static int systemctl_parse_argv(int argc, char *argv[]) {
continue;
}
- log_error("Unkown unit type or load state '%s'.", type);
+ log_error("Unknown unit type or load state '%s'.", type);
log_info("Use -t help to see a list of allowed values.");
return -EINVAL;
}
diff --git a/src/systemd/sd-bus-protocol.h b/src/systemd/sd-bus-protocol.h
index 7922f6b702..a26d27c31a 100644
--- a/src/systemd/sd-bus-protocol.h
+++ b/src/systemd/sd-bus-protocol.h
@@ -66,7 +66,7 @@ enum {
SD_BUS_TYPE_DICT_ENTRY_END = '}',
};
-/* Endianess */
+/* Endianness */
enum {
_SD_BUS_INVALID_ENDIAN = 0,
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 5d32bd1975..fea1ca2fc2 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -743,7 +743,7 @@ static int create_item(Item *i) {
if (have_effective_cap(CAP_MKNOD) == 0) {
/* In a container we lack CAP_MKNOD. We
- shouldnt attempt to create the device node in
+ shouldn't attempt to create the device node in
that case to avoid noise, and we don't support
virtualized devices in containers anyway. */
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c
index d2810a01d8..7a4fb70258 100644
--- a/src/udev/udev-rules.c
+++ b/src/udev/udev-rules.c
@@ -55,7 +55,7 @@ struct udev_rules {
unsigned int token_cur;
unsigned int token_max;
- /* all key strings are copied and de-duplicated in a single continous string buffer */
+ /* all key strings are copied and de-duplicated in a single continuous string buffer */
struct strbuf *strbuf;
/* during rule parsing, uid/gid lookup results are cached */