mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-15 16:24:21 +08:00
btrfs-progs: convert: use correct string printing for errcode_t
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
629688a2d2
commit
29faad6339
@ -155,7 +155,8 @@ static int ext2_read_used_space(struct btrfs_convert_context *cctx)
|
||||
block_nbytes * 8, block_bitmap);
|
||||
if (ret) {
|
||||
error("fail to get bitmap from ext2, %s",
|
||||
strerror(-ret));
|
||||
error_message(ret));
|
||||
ret = -EINVAL;
|
||||
break;
|
||||
}
|
||||
ret = __ext2_add_one_block(fs, block_bitmap, i, used_tree);
|
||||
|
Loading…
Reference in New Issue
Block a user