Skip to content

Commit

Permalink
Fix typo. (#347)
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
  • Loading branch information
jdm authored Jul 29, 2024
1 parent da28df9 commit 6aa857c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6aa857c

Please sign in to comment.