summaryrefslogtreecommitdiffstats
path: root/sys/fs/cuse
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/cuse')
-rw-r--r--sys/fs/cuse/cuse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/cuse/cuse.c b/sys/fs/cuse/cuse.c
index 075b2d9..6035f8d 100644
--- a/sys/fs/cuse/cuse.c
+++ b/sys/fs/cuse/cuse.c
@@ -1656,7 +1656,7 @@ cuse_client_ioctl(struct cdev *dev, unsigned long cmd,
cuse_cmd_lock(pccmd);
- if (cmd & IOC_IN)
+ if (cmd & (IOC_IN | IOC_VOID))
memcpy(pcc->ioctl_buffer, data, len);
/*
OpenPOWER on IntegriCloud