diff options
author | Carl Lerche <me@carllerche.com> | 2014-10-06 18:11:03 -0700 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2014-10-06 18:11:03 -0700 |
commit | c976be575f4fefcf03a70c5b87f898388150c8aa (patch) | |
tree | 9d00323114f31875de7c241476116e0fa239b4e5 /src/sys/socket.rs | |
parent | 3ecbe3364aa56f3352a07a85b146156bb246f515 (diff) | |
download | nix-c976be575f4fefcf03a70c5b87f898388150c8aa.zip |
Implement improved feature detection on Linux
Diffstat (limited to 'src/sys/socket.rs')
-rw-r--r-- | src/sys/socket.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/socket.rs b/src/sys/socket.rs index edbbad97..8a99f708 100644 --- a/src/sys/socket.rs +++ b/src/sys/socket.rs @@ -162,7 +162,7 @@ mod consts { } pub fn socket(domain: AddressFamily, mut ty: SockType, flags: SockFlag) -> SysResult<Fd> { - let feat_atomic = features::atomic_cloexec(); + let feat_atomic = features::socket_atomic_cloexec(); if feat_atomic { ty = ty | flags.bits(); |