diff options
Diffstat (limited to 'block/crypto.c')
-rw-r--r-- | block/crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/crypto.c b/block/crypto.c index 7aa7eb553e..e05e4dda47 100644 --- a/block/crypto.c +++ b/block/crypto.c @@ -383,7 +383,7 @@ static int block_crypto_truncate(BlockDriverState *bs, int64_t offset) offset += payload_offset; - return bdrv_truncate(bs->file->bs, offset); + return bdrv_truncate(bs->file, offset); } static void block_crypto_close(BlockDriverState *bs) |