From 2b873570a8e2206b5e8f827b5b0a7bd1b602f017 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Wed, 9 Oct 2024 10:59:49 +0200 Subject: [PATCH] Fix typo --- src/fds.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fds.rs b/src/fds.rs index a9953d0a4..d20bbe7e9 100644 --- a/src/fds.rs +++ b/src/fds.rs @@ -240,7 +240,7 @@ pub fn open_cloexec(path: &CStr, flags: OFlag, mode: nix::sys::stat::Mode) -> ni let saved_errno = errno(); errno::set_errno(errno::Errno(0)); // We retry this in case of signals, - // if we get EINTR and it's not a SIGINIT, we continue. + // if we get EINTR and it's not a SIGINT, we continue. // If it is that's our cancel signal, so we abort. loop { let ret = nix::fcntl::open(path, flags | OFlag::O_CLOEXEC, mode);