aboutsummaryrefslogtreecommitdiffstats
path: root/example/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/hello.c')
-rw-r--r--example/hello.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/hello.c b/example/hello.c
index 90919f4..d9f01b9 100644
--- a/example/hello.c
+++ b/example/hello.c
@@ -59,8 +59,8 @@ static void *hello_init(struct fuse_conn_info *conn,
cfg->kernel_cache = 1;
/* Test setting flags the old way */
- conn->want = FUSE_CAP_ASYNC_READ;
- conn->want &= ~FUSE_CAP_ASYNC_READ;
+ fuse_set_feature_flag(conn, FUSE_CAP_ASYNC_READ);
+ fuse_unset_feature_flag(conn, FUSE_CAP_ASYNC_READ);
return NULL;
}