diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2021-01-30 10:31:47 +0200 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2021-01-30 10:31:47 +0200 |
commit | 55bbc04b88b091c9d2b206bc4a21042c5c881b36 (patch) | |
tree | bc3d23f12738b78048cea5e79e0b96b49ea5589c /src | |
parent | 481b3165ab6d1f3c52129b435955c504dd849fe5 (diff) | |
download | bindfs-55bbc04b88b091c9d2b206bc4a21042c5c881b36.tar.gz |
Fixed bindfs_ioctl signature on FUSE3
Diffstat (limited to 'src')
-rw-r--r-- | src/bindfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindfs.c b/src/bindfs.c index 7c0e655..aae4281 100644 --- a/src/bindfs.c +++ b/src/bindfs.c @@ -330,7 +330,7 @@ static int bindfs_lock(const char *path, struct fuse_file_info *fi, int cmd, struct flock *lock); static int bindfs_flock(const char *path, struct fuse_file_info *fi, int op); #ifdef HAVE_FUSE_3 -static int bindfs_ioctl(const char *path, unsigned int cmd, void *arg, +static int bindfs_ioctl(const char *path, int cmd, void *arg, struct fuse_file_info *fi, unsigned int flags, void *data); #else @@ -1459,7 +1459,7 @@ static int bindfs_flock(const char *path, struct fuse_file_info *fi, int op) } #ifdef HAVE_FUSE_3 -static int bindfs_ioctl(const char *path, unsigned int cmd, void *arg, +static int bindfs_ioctl(const char *path, int cmd, void *arg, struct fuse_file_info *fi, unsigned int flags, void *data) #else |