aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_write_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_write_cache.c')
-rw-r--r--test/test_write_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_write_cache.c b/test/test_write_cache.c
index cc827c7..d3c7af0 100644
--- a/test/test_write_cache.c
+++ b/test/test_write_cache.c
@@ -65,7 +65,7 @@ static void tfs_init (void *userdata, struct fuse_conn_info *conn)
(void) userdata;
if(options.writeback) {
- assert(conn->capable & FUSE_CAP_WRITEBACK_CACHE);
+ assert(fuse_get_feature_flag(conn, FUSE_CAP_WRITEBACK_CACHE));
conn->want |= FUSE_CAP_WRITEBACK_CACHE;
}
}