]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: haproxy: fix typos in code comment
authorNicolas CARPi <nico-git@deltablot.email>
Tue, 27 Aug 2024 20:02:17 +0000 (22:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Aug 2024 12:58:59 +0000 (14:58 +0200)
Use "from" instead of "form" in ha_random_boot function code comments.

src/haproxy.c

index f7bb5b5d8ca4ee49f4d310eeb715c0e4249ff074..21cdcb34049bbd6ddd0013de5649ff80dd81cd2a 100644 (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);