aboutsummaryrefslogtreecommitdiffstats
path: root/example/poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/poll.c')
-rw-r--r--example/poll.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/example/poll.c b/example/poll.c
index 61c5365..10175a3 100644
--- a/example/poll.c
+++ b/example/poll.c
@@ -64,8 +64,10 @@ static int fsel_path_index(const char *path)
return ch <= '9' ? ch - '0' : ch - 'A' + 10;
}
-static int fsel_getattr(const char *path, struct stat *stbuf)
+static int fsel_getattr(const char *path, struct stat *stbuf,
+ struct fuse_file_info *fi)
{
+ (void) fi;
int idx;
memset(stbuf, 0, sizeof(struct stat));