diff options
author | Roma Sokolov <sokolov.r.v@gmail.com> | 2014-11-19 15:20:18 +0300 |
---|---|---|
committer | Roma Sokolov <sokolov.r.v@gmail.com> | 2014-11-19 15:20:18 +0300 |
commit | 299fe7fcd922bf1682e30ec39c602afd679421f2 (patch) | |
tree | 6ffb86312f913c552cddcdc19b62d4397adbcb7e /src | |
parent | 44885b2b21cbbfd64617c9056dd1c80fa79d82fb (diff) | |
download | nix-299fe7fcd922bf1682e30ec39c602afd679421f2.zip |
Fix for Linux
Diffstat (limited to 'src')
-rw-r--r-- | src/errno.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/errno.rs b/src/errno.rs index 160c655c..fd91d012 100644 --- a/src/errno.rs +++ b/src/errno.rs @@ -556,8 +556,8 @@ mod consts { EHWPOISON = 133, } - pub const EWOULDBLOCK: Errno = EAGAIN; - pub const EDEADLOCK: Errno = EDEADLK; + pub const EWOULDBLOCK: Errno = Errno::EAGAIN; + pub const EDEADLOCK: Errno = Errno::EDEADLK; } #[cfg(any(target_os = "macos", target_os = "ios"))] |