From f66673663a5227a729633a8d50915de9be69990b Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Fri, 25 Aug 2017 10:38:43 +0200 Subject: [PATCH] do_init(): print missing capabilities if there are any. --- lib/fuse_lowlevel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.30.2