bcachefs-tools: Fix TODO "Show bcachefs version"

Fix TODO "Show bcachefs version" in fusemount.

Signed-off-by: Integral <integral@archlinuxcn.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Integral 2024-11-05 16:36:01 +08:00 committed by Kent Overstreet
parent 511a714ed3
commit d4932bf0e3

View File

@ -1222,9 +1222,9 @@ int cmd_fusemount(int argc, char *argv[])
goto out;
}
if (fuse_opts.show_version) {
/* TODO: Show bcachefs version. */
printf("FUSE library version %s\n", fuse_pkgversion());
fuse_lowlevel_version();
printf("bcachefs version: %s\n", VERSION_STRING);
ret = 0;
goto out;
}