aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2017-08-25 10:38:43 +0200
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2017-08-25 10:38:43 +0200
commitf66673663a5227a729633a8d50915de9be69990b (patch)
tree2c6bf42812f86f52c2a257531cc9df8544ef53bd
parent48d0e99af3c778d02f6b990cb70a2d25df253a1a (diff)
do_init(): print missing capabilities if there are any.
-rw-r--r--lib/fuse_lowlevel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index 3d78d9e..031793a 100644
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -1937,7 +1937,8 @@ static void do_init(fuse_req_t req, fuse_ino_t nodeid, const void *inarg)
if (se->conn.want & (~se->conn.capable)) {
fprintf(stderr, "fuse: error: filesystem requested capabilites "
- "that are not supported by kernel, aborting.\n");
+ "0x%x that are not supported by kernel, aborting.\n",
+ se->conn.want & (~se->conn.capable));
fuse_reply_err(req, EPROTO);
se->error = -EPROTO;
fuse_session_exit(se);