aboutsummaryrefslogtreecommitdiff
path: root/example/hello_ll.c
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2005-08-25 15:19:06 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2005-08-25 15:19:06 +0000
commitecce1bf2ff73eb37048a784df0fa97ad041c6bdd (patch)
tree21d192874d6e9ad229f3fbd74abd9e6cb0abe61b /example/hello_ll.c
parentb0c52c59f710b4619949adfc359dabfca005fe0d (diff)
fix
Diffstat (limited to 'example/hello_ll.c')
-rw-r--r--example/hello_ll.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/example/hello_ll.c b/example/hello_ll.c
index f5a2baf..882f2cd 100644
--- a/example/hello_ll.c
+++ b/example/hello_ll.c
@@ -40,10 +40,13 @@ static int hello_stat(fuse_ino_t ino, struct stat *stbuf)
return 0;
}
-static void hello_ll_getattr(fuse_req_t req, fuse_ino_t ino)
+static void hello_ll_getattr(fuse_req_t req, fuse_ino_t ino,
+ struct fuse_file_info *fi)
{
struct stat stbuf;
+ (void) fi;
+
memset(&stbuf, 0, sizeof(stbuf));
if (hello_stat(ino, &stbuf) == -1)
fuse_reply_err(req, ENOENT);