about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThe 8472 <git@infinite-source.de>2023-11-16 01:38:59 +0100
committerThe 8472 <git@infinite-source.de>2023-11-16 01:38:59 +0100
commit3ffbb4899ec55b59b03325f25ff563530260b854 (patch)
tree1391acb85dddb9bc25c210e279911fa96445928f
parent10127d9eb57dde087f553f10b999e8e2dd8fdef2 (diff)
downloadrust-3ffbb4899ec55b59b03325f25ff563530260b854.tar.gz
rust-3ffbb4899ec55b59b03325f25ff563530260b854.zip
update comment, we're currently using a different syscall
-rw-r--r--library/std/src/sys/unix/process/process_unix.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/process/process_unix.rs b/library/std/src/sys/unix/process/process_unix.rs
index 1cdfe572a85..aed3f0a0de0 100644
--- a/library/std/src/sys/unix/process/process_unix.rs
+++ b/library/std/src/sys/unix/process/process_unix.rs
@@ -787,7 +787,7 @@ pub struct Process {
     // On Linux, stores the pidfd created for this child.
     // This is None if the user did not request pidfd creation,
     // or if the pidfd could not be created for some reason
-    // (e.g. the `clone3` syscall was not available).
+    // (e.g. the `pidfd_open` syscall was not available).
     #[cfg(target_os = "linux")]
     pidfd: Option<PidFd>,
 }