diff --git a/src/sched.rs b/src/sched.rs index a6981573f3..6a50c639fd 100644 --- a/src/sched.rs +++ b/src/sched.rs @@ -108,7 +108,7 @@ mod sched_linux_like { match res { 0 => Ok(cpuset), - _ => Err(nix::Error::from_errno(Errno::from_i32(res))), + _ => Err(Error::from_errno(Errno::from_i32(res))), } }