CLEANUP: Fix typos in the file descriptor subsystem

Fixes 2 typos in the code comment of the file descriptor subsystem.
This commit is contained in:
Joseph Herlant 2018-11-25 13:34:43 -08:00 committed by Willy Tarreau
parent 0b75e63dc5
commit f69b807fa4
1 changed files with 2 additions and 2 deletions

View File

@ -80,8 +80,8 @@ enum fd_states {
/* This is the value used to mark a file descriptor as dead. This value is /* 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 * 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 * also has the nice property of being highly negative but neither overflowing
* nor changing sign on 32-bit machines when multipled by sizeof(fdtab). * nor changing sign on 32-bit machines when multiplied by sizeof(fdtab).
* This ensures that any unexpected dereference of such an uninitialized * This ensures that any unexpected dereference of such an uninitialized
* file descriptor will lead to so large a dereference that it will crash * 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 * the process at the exact location of the bug with a clean stack trace