]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
docs/CODING_STYLE: fix typo (CLONE_VORK -> VFORK)
authorMike Yuan <me@yhndnzj.com>
Sat, 24 Feb 2024 05:26:19 +0000 (13:26 +0800)
committerMike Yuan <me@yhndnzj.com>
Sat, 24 Feb 2024 05:26:19 +0000 (13:26 +0800)
docs/CODING_STYLE.md

index 0e761227348bd15fa52a98daa94a41f202e28da3..6d6e549f5c7bca80468a4a59c1cfdea50fef0485 100644 (file)
@@ -774,7 +774,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
 - A corollary of the above is: never use `clone()` where a `fork()` would do
   too. Also consider using `posix_spawn()` which combines `clone()` +
   `execve()` into one and has nice properties since it avoids becoming a CoW
-  trap by using `CLONE_VORK` and `CLONE_VM` together.
+  trap by using `CLONE_VFORK` and `CLONE_VM` together.
 
 - While we avoid forking off threads on our own, writing thread-safe code is a
   good idea where it might end up running inside of libsystemd.so or