From: Nikolaus Rath Date: Fri, 25 Aug 2017 08:38:43 +0000 (+0200) Subject: do_init(): print missing capabilities if there are any. X-Git-Tag: fuse-3.2.0~5 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f66673663a5227a729633a8d50915de9be69990b;p=qemu-gpiodev%2Flibfuse.git do_init(): print missing capabilities if there are any. --- 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);