btrfs-progs: convert: use correct string printing for errcode_t

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2017-09-12 15:23:05 +02:00
parent 629688a2d2
commit 29faad6339

View File

@ -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);