From f131770b1465fbf423881f16ba85523a05f846fe Mon Sep 17 00:00:00 2001 From: Veres Lajos Date: Mon, 29 Dec 2014 09:45:58 +0000 Subject: tree-wide: spelling fixes https://github.com/vlajos/misspell_fixer https://github.com/torstehu/systemd/commit/b6fdeb618cf2f3ce1645b3315f15f482710c7ffa Thanks to Torstein Husebo . --- src/core/machine-id-setup.c | 2 +- src/core/main.c | 2 +- src/core/shutdown.c | 2 +- src/core/unit.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core') 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]) -- cgit v1.2.3-54-g00ecf