aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/bindfs.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/bindfs.c b/src/bindfs.c
index 039393b..f1d528f 100644
--- a/src/bindfs.c
+++ b/src/bindfs.c
@@ -1098,12 +1098,13 @@ static int bindfs_write(const char *path, const char *buf, size_t size,
static int bindfs_ioctl(const char *path, int cmd, void *arg,
struct fuse_file_info *fi, unsigned int flags,
- void *data) {
- int ret = ioctl(fi->fh, cmd, data);
- if (ret == -1) {
- return -errno;
- }
- return ret;
+ void *data)
+{
+ int ret = ioctl(fi->fh, cmd, data);
+ if (ret == -1) {
+ return -errno;
+ }
+ return ret;
}
static int bindfs_statfs(const char *path, struct statvfs *stbuf)