aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2023-08-02 09:55:30 +0000
committerGordon Bergling <gbe@FreeBSD.org>2023-08-02 09:55:30 +0000
commit29eab3e4e0c9a6e954b0ee858e3d4c2a9f283ea4 (patch)
treea625db77cdb3ac9702235d7fea5a7fb385a6e242
parent2f0e0bd50633eafdfda503ec388151911e7383af (diff)
downloadsrc-29eab3e4e0c9a6e954b0ee858e3d4c2a9f283ea4.tar.gz
src-29eab3e4e0c9a6e954b0ee858e3d4c2a9f283ea4.zip
linux(4): Fix two typos in source code comments
- s/decriptors/descriptors/ MFC after: 3 days
-rw-r--r--sys/amd64/linux32/linux32_machdep.c2
-rw-r--r--sys/i386/linux/linux_machdep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/linux32/linux32_machdep.c b/sys/amd64/linux32/linux32_machdep.c
index bcbf51082c64..29b3b99bc483 100644
--- a/sys/amd64/linux32/linux32_machdep.c
+++ b/sys/amd64/linux32/linux32_machdep.c
@@ -603,7 +603,7 @@ linux_set_thread_area(struct thread *td,
/*
* Semantics of Linux version: every thread in the system has array
* of three TLS descriptors. 1st is GLIBC TLS, 2nd is WINE, 3rd unknown.
- * This syscall loads one of the selected TLS decriptors with a value
+ * This syscall loads one of the selected TLS descriptors with a value
* and also loads GDT descriptors 6, 7 and 8 with the content of
* the per-thread descriptors.
*
diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c
index 92b37646d28d..08124202c90a 100644
--- a/sys/i386/linux/linux_machdep.c
+++ b/sys/i386/linux/linux_machdep.c
@@ -519,7 +519,7 @@ linux_set_thread_area(struct thread *td, struct linux_set_thread_area_args *args
/*
* Semantics of Linux version: every thread in the system has array of
* 3 tls descriptors. 1st is GLIBC TLS, 2nd is WINE, 3rd unknown. This
- * syscall loads one of the selected tls decriptors with a value and
+ * syscall loads one of the selected tls descriptors with a value and
* also loads GDT descriptors 6, 7 and 8 with the content of the
* per-thread descriptors.
*