Fix #213 and a typo in macro FSP_FUSE_CTLCODE_FROM_IOCTL

This commit is contained in:
Fritz Elfert
2019-02-12 11:51:07 +01:00
parent 0eb84d68e2
commit f97b8fcc3a
2 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,7 @@ extern "C" {
#define FSP_FUSE_DEVICE_TYPE (0x8000 | 'W' | 'F' * 0x100) /* DeviceIoControl -> ioctl */
#define FSP_FUSE_CTLCODE_FROM_IOCTL(cmd)\
(FSP_FUSE_DEVICE_TYPE << 16) | (((c) & 0x0fff) << 2)
(FSP_FUSE_DEVICE_TYPE << 16) | (((cmd) & 0x0fff) << 2)
#define FSP_FUSE_IOCTL(cmd, isiz, osiz) \
( \
(((osiz) != 0) << 31) | \