Skip to content

Commit

Permalink
fix import path in sched::sched_getaffinity()
Browse files Browse the repository at this point in the history
  • Loading branch information
thib-ack committed Oct 31, 2019
1 parent 4e35a55 commit 32feaef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sched.rs
Expand Up @@ -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))),
}
}

Expand Down

0 comments on commit 32feaef

Please sign in to comment.