Skip to content

Commit

Permalink
bcachefs-tools: Fix TODO "Show bcachefs version"
Browse files Browse the repository at this point in the history
Fix TODO "Show bcachefs version" in fusemount.

Signed-off-by: Integral <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
  • Loading branch information
Integral-Tech authored and Kent Overstreet committed Nov 6, 2024
1 parent 511a714 commit d4932bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_src/cmd_fusemount.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d4932bf

Please sign in to comment.