From 6aa857c138e79f0b0d2710abdeb95f685aebd45d Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Mon, 29 Jul 2024 11:06:07 -0400 Subject: [PATCH] Fix typo. (#347) Signed-off-by: Josh Matthews --- src/platform/unix/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/unix/mod.rs b/src/platform/unix/mod.rs index 24e933f9..b9384c07 100644 --- a/src/platform/unix/mod.rs +++ b/src/platform/unix/mod.rs @@ -1163,7 +1163,7 @@ impl UnixCmsg { }, BlockingMode::Timeout(duration) => { #[cfg(target_os = "linux")] - const POLLRDHUP: lib::c_short = libc::POLLRDHUP; + const POLLRDHUP: libc::c_short = libc::POLLRDHUP; // It's rather unfortunate that Rust's libc doesn't know that // FreeBSD has POLLRDHUP, but in the mean time we can add