Commit Graph

4 Commits

Author SHA1 Message Date
Kent Overstreet
1eae1d718c Use bch2_err_str() instead of strerror()
This correctly prints out our private error codes.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2022-12-19 16:05:54 -05:00
Kent Overstreet
a6128b5335 cmd_list: Fix -m nodes_ondisk
We were using malloc() for a buffer to be used for an O_DIRECT read -
oops, that doesn't work.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-21 15:46:57 -04:00
Kent Overstreet
cc1f2deb96 cmd_list: Fix indenting in -m nodes_ondisk
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-07-11 15:44:02 -04:00
Kent Overstreet
a232478f35 Break up cmd_debug.c into multiple files
In the future, let's have one cmd_foo.c file per subcommand.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-06-18 18:25:19 -04:00