summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorVeres Lajos <vlajos@gmail.com>2014-12-29 09:45:58 +0000
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-30 20:07:04 -0500
commitf131770b1465fbf423881f16ba85523a05f846fe (patch)
tree2f8de3a22c12677ae0198cb0180b9e7bb5c640b5 /src/core
parentfd51179d5c6c693a0841db5af0404a45fd9e9845 (diff)
tree-wide: spelling fixes
https://github.com/vlajos/misspell_fixer https://github.com/torstehu/systemd/commit/b6fdeb618cf2f3ce1645b3315f15f482710c7ffa Thanks to Torstein Husebo <torstein@huseboe.net>.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/machine-id-setup.c2
-rw-r--r--src/core/main.c2
-rw-r--r--src/core/shutdown.c2
-rw-r--r--src/core/unit.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/core/machine-id-setup.c b/src/core/machine-id-setup.c
index d91a02cf15..7e0aee6a75 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 87d54caac3..688ca0ea2a 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 def20f5022..6492b19774 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 a2f37282db..9f7ba9227b 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])