Fixing typos
Change-Id: I63cb1547093e0de679a08aa9834b67077606bca8
Reviewed-on: https://chromium-review.googlesource.com/c/linux-syscall-support/+/3925692
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/linux_syscall_support.h b/linux_syscall_support.h
index c9ae154..6dc5888 100644
--- a/linux_syscall_support.h
+++ b/linux_syscall_support.h
@@ -46,7 +46,7 @@
* the necessary definitions.
*
* SYS_ERRNO:
- * All system calls will update "errno" unless overriden by setting the
+ * All system calls will update "errno" unless overridden by setting the
* SYS_ERRNO macro prior to including this file. SYS_ERRNO should be
* an l-value.
*
@@ -1823,7 +1823,7 @@
#ifndef __NR_getcpu
#define __NR_getcpu 302
#endif
-/* End of powerpc defininitions */
+/* End of powerpc definitions */
#elif defined(__s390__)
#ifndef __NR_quotactl
#define __NR_quotactl 131
diff --git a/tests/getitimer.c b/tests/getitimer.c
index 8a84700..860538a 100644
--- a/tests/getitimer.c
+++ b/tests/getitimer.c
@@ -31,7 +31,7 @@
int main(int argc, char *argv[]) {
// We need an invalid timer value. The assert()'s below should
- // be static asserts but it is not avalible in older C versions.
+ // be static asserts but it is not available in older C versions.
#define kInvalidTimer 9999
assert(kInvalidTimer != ITIMER_REAL);
assert(kInvalidTimer != ITIMER_VIRTUAL);