From 55bbc04b88b091c9d2b206bc4a21042c5c881b36 Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Sat, 30 Jan 2021 10:31:47 +0200 Subject: Fixed bindfs_ioctl signature on FUSE3 --- src/bindfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3