summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_ioctl.c
diff options
context:
space:
mode:
authorJohn Hay <jhay@FreeBSD.org>1999-10-06 19:51:37 +0000
committerJohn Hay <jhay@FreeBSD.org>1999-10-06 19:51:37 +0000
commit5cdfd8f70939503bbc28417bfd7df67c163afd0f (patch)
tree0c85ca3705dc5192d27881df8739a7e64147b7ad /sys/compat/linux/linux_ioctl.c
parentcb479b1136ec42760b5f3706657cb41fc0605cdf (diff)
Notes
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
-rw-r--r--sys/compat/linux/linux_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
index d071bcd77042..0729be1fb658 100644
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -527,7 +527,7 @@ set_linux_cdrom_addr(union linux_cdrom_addr *addr, int format, int lba)
addr->lba = lba;
}
-static unsigned dirbits[4] = { IOC_VOID, IOC_OUT, IOC_IN, IOC_INOUT };
+static unsigned dirbits[4] = { IOC_VOID, IOC_IN, IOC_OUT, IOC_INOUT };
#define SETDIR(c) (((c) & ~IOC_DIRMASK) | dirbits[args->cmd >> 30])