From 3ffbb4899ec55b59b03325f25ff563530260b854 Mon Sep 17 00:00:00 2001 From: The 8472 Date: Thu, 16 Nov 2023 01:38:59 +0100 Subject: [PATCH] update comment, we're currently using a different syscall --- library/std/src/sys/unix/process/process_unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/sys/unix/process/process_unix.rs b/library/std/src/sys/unix/process/process_unix.rs index 1cdfe572a859..aed3f0a0de0e 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, }