aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorHereThereBeDragons <HereThereBeDragons@users.noreply.github.com>2022-10-27 17:52:10 +0200
committerNikolaus Rath <Nikolaus@rath.org>2023-01-06 18:35:52 +0000
commit91083df90eadc0e69e4ce6956f823a2acb602f25 (patch)
treeb83b5c7122fec12a0f4424fd5c1fdb1a39b0caf8 /example
parent7f430a39db5a30979d75a906af891a38ebce1a3c (diff)
downloadlibfuse-91083df90eadc0e69e4ce6956f823a2acb602f25.tar.gz
adding comments and capability discovery, enum for flags moved to top of file
Diffstat (limited to 'example')
-rw-r--r--example/printcap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/printcap.c b/example/printcap.c
index edfd8f5..4867988 100644
--- a/example/printcap.c
+++ b/example/printcap.c
@@ -81,6 +81,8 @@ static void pc_init(void *userdata,
printf("\tFUSE_CAP_NO_OPENDIR_SUPPORT\n");
if(conn->capable & FUSE_CAP_EXPLICIT_INVAL_DATA)
printf("\tFUSE_CAP_EXPLICIT_INVAL_DATA\n");
+ if(conn->capable & FUSE_CAP_EXPIRE_ONLY)
+ printf("\tFUSE_CAP_EXPIRE_ONLY\n");
fuse_session_exit(se);
}