From ab06eef8101866dd1337c4759002f7360a9db416 Mon Sep 17 00:00:00 2001 From: Anatol Pomozov Date: Sun, 14 Apr 2013 19:37:54 -0700 Subject: Fix spelling errors using 'codespell' tool --- src/core/syscall-list.h | 2 +- src/core/umount.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') 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 -- cgit v1.2.3-54-g00ecf