Joseph Herlant
2018-11-25 21:34:43 UTC
Fixes 2 typos in the code comment of the file descriptor subsystem.
---
include/types/fd.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/types/fd.h b/include/types/fd.h
index 5947bafc..3ff4f656 100644
--- a/include/types/fd.h
+++ b/include/types/fd.h
@@ -80,8 +80,8 @@ enum fd_states {
/* This is the value used to mark a file descriptor as dead. This value is
* negative, this is important so that tests on fd < 0 properly match. It
- * also has the nice property of being highly negative but not overflowing
- * nor changing sign on 32-bit machines when multipled by sizeof(fdtab).
+ * also has the nice property of being highly negative but neither overflowing
+ * nor changing sign on 32-bit machines when multiplied by sizeof(fdtab).
* This ensures that any unexpected dereference of such an uninitialized
* file descriptor will lead to so large a dereference that it will crash
* the process at the exact location of the bug with a clean stack trace
---
include/types/fd.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/types/fd.h b/include/types/fd.h
index 5947bafc..3ff4f656 100644
--- a/include/types/fd.h
+++ b/include/types/fd.h
@@ -80,8 +80,8 @@ enum fd_states {
/* This is the value used to mark a file descriptor as dead. This value is
* negative, this is important so that tests on fd < 0 properly match. It
- * also has the nice property of being highly negative but not overflowing
- * nor changing sign on 32-bit machines when multipled by sizeof(fdtab).
+ * also has the nice property of being highly negative but neither overflowing
+ * nor changing sign on 32-bit machines when multiplied by sizeof(fdtab).
* This ensures that any unexpected dereference of such an uninitialized
* file descriptor will lead to so large a dereference that it will crash
* the process at the exact location of the bug with a clean stack trace
--
2.19.2
2.19.2