summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryant Mairs <bryant@mai.rs>2017-07-11 11:36:15 -0700
committerMarcin Mielniczuk <marmistrz.dev@zoho.eu>2017-07-25 09:09:52 +0200
commit1b9a779333df43e33c3c77f286aed64682001ffe (patch)
tree6312315428b265edc2df2589e0bd18902147e548 /src
parent8928a7d1374bdd12bd52d04f4afc0ba2704f1285 (diff)
downloadnix-1b9a779333df43e33c3c77f286aed64682001ffe.zip
Re-add bad variant of ioctl!
Diffstat (limited to 'src')
-rw-r--r--src/sys/ioctl/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/ioctl/mod.rs b/src/sys/ioctl/mod.rs
index b5e1709d..b3388c28 100644
--- a/src/sys/ioctl/mod.rs
+++ b/src/sys/ioctl/mod.rs
@@ -130,7 +130,7 @@ macro_rules! convert_ioctl_res {
#[macro_export]
macro_rules! ioctl {
- ($name:ident with $nr:expr) => (
+ (bad $name:ident with $nr:expr) => (
pub unsafe fn $name(fd: $crate::sys::ioctl::libc::c_int,
data: *mut u8)
-> $crate::Result<$crate::sys::ioctl::libc::c_int> {