diff options
author | Integral <integral@archlinuxcn.org> | 2025-04-06 23:26:59 +0800 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-06 19:13:47 -0400 |
commit | c319901611998dd57a7399c93e134e174297772e (patch) | |
tree | c54aa41889bbe6c681dcf52d1d4b035bad717e0b /fs/btrfs/dev-replace.c | |
parent | 2a5cf9df4dbcd0cf5ceb1ff1f33fd70d2490c0e7 (diff) |
bcachefs: split error messages of invalid compression into two lines
When an invalid compression type or level is passed as an argument
to `--compression`, two error messages are squashed into one line:
> bcachefs format --compression=lzo bcachefs-comp.img
invalid option: invalid compression typecompression: parse error
> bcachefs format --compression=lz4:16 bcachefs-comp.img
invalid option: invalid compression levelcompression: parse error
To resolve this issue, add a newline character at the end of the
first error message to separate them into two lines.
Signed-off-by: Integral <integral@archlinuxcn.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions