Wholesale fix of warnings
Pretty straightforward changes. This commit tries to avoid making any non-trivial fixes.
This commit is contained in:
@@ -13,7 +13,7 @@ fn enforce_root() -> Result<()> {
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))]
|
||||
pub fn iopl(level: usize) -> Result<usize> {
|
||||
pub fn iopl(_level: usize) -> Result<usize> {
|
||||
Err(Error::new(syscall::error::ENOSYS))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user