From 32feaef3e79e4d8bbb74c9eca88ad851c32b1e8c Mon Sep 17 00:00:00 2001 From: Thibaut Ackermann Date: Thu, 31 Oct 2019 07:22:10 +0100 Subject: [PATCH] fix import path in sched::sched_getaffinity() --- src/sched.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))), } }