aboutsummaryrefslogtreecommitdiff
path: root/src/sys/quota.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/quota.rs')
-rw-r--r--src/sys/quota.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sys/quota.rs b/src/sys/quota.rs
index b3c44ca..a32d07a 100644
--- a/src/sys/quota.rs
+++ b/src/sys/quota.rs
@@ -21,9 +21,8 @@ use std::{mem, ptr};
struct QuotaCmd(QuotaSubCmd, QuotaType);
impl QuotaCmd {
- #[allow(unused_unsafe)]
fn as_int(&self) -> c_int {
- unsafe { libc::QCMD(self.0 as i32, self.1 as i32) }
+ libc::QCMD(self.0 as i32, self.1 as i32)
}
}