summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2013-04-14 19:37:54 -0700
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-15 08:40:05 -0400
commitab06eef8101866dd1337c4759002f7360a9db416 (patch)
treedcd6f81750a284d072f558890bc02db06ed11e4a /src/core
parent97e13058170c7759dbbc239d264b9a31b0c81079 (diff)
Fix spelling errors using 'codespell' tool
Diffstat (limited to 'src/core')
-rw-r--r--src/core/syscall-list.h2
-rw-r--r--src/core/umount.c2
2 files changed, 2 insertions, 2 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