diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/syscall-list.h | 2 | ||||
-rw-r--r-- | src/core/umount.c | 2 |
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 |