CLEANUP: haproxy: fix typos in code comment

Use "from" instead of "form" in ha_random_boot function code comments.
This commit is contained in:
Nicolas CARPi 2024-08-27 22:02:17 +02:00 committed by Willy Tarreau
parent 62c9d51ca4
commit 534e7e4598

View File

@ -1417,11 +1417,11 @@ static void ha_random_boot(char *const *argv)
m += 4;
}
/* stack address (benefit form operating system's ASLR) */
/* stack address (benefit from operating system's ASLR) */
l = (unsigned long)&m;
memcpy(m, &l, sizeof(l)); m += sizeof(l);
/* argv address (benefit form operating system's ASLR) */
/* argv address (benefit from operating system's ASLR) */
l = (unsigned long)&argv;
memcpy(m, &l, sizeof(l)); m += sizeof(l);