mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-23 06:32:57 +00: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