]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: Fix typos in the file descriptor subsystem
authorJoseph Herlant <aerostitch@debian.org>
Sun, 25 Nov 2018 21:34:43 +0000 (13:34 -0800)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Dec 2018 17:43:25 +0000 (18:43 +0100)
Fixes 2 typos in the code comment of the file descriptor subsystem.

include/types/fd.h

index 5947bafc35fc2312119beee573b1b361cb010493..3ff4f656fc39dcf7a2f700c937ca51597b0f64a8 100644 (file)
@@ -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